WordPress 2.7 Cookbook


There is a newer version of this book available - WordPress 3 Cookbook
WordPress 2.7 Cookbook
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
$17.99
save 25%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
$39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Take your WordPress blog to the next level with solutions to common WordPress problems that make your blog better, smarter, faster, and more secure
  • Enhance your SEO and make more money online by applying simple hacks
  • Fully tested and compatible with WordPress 2.7
  • Part of Packt's Cookbook series: Each recipe is a carefully organized sequence of instructions to complete the task as efficiently as possible

Book Details

Language : English
Paperback : 316 pages [ 235mm x 191mm ]
Release Date : July 2009
ISBN : 1847197388
ISBN 13 : 9781847197382
Author(s) : Jean-Baptiste Jung
Topics and Technologies : All Books, CMS and eCommerce, Cookbooks, Content Management (CMS), Open Source, WordPress

Back to BOOK PAGE


Table of Contents

Preface
Chapter 1: Getting Ready to Cook with WordPress
Chapter 2: Finding, Installing, and Tweaking Themes
Chapter 3: Get the most out of your WordPress Theme
Chapter 4: Doing anything with Plugins and Widgets
Chapter 5: Displaying Posts
Chapter 6: Managing and Enhancing Multi-Author Blogs
Chapter 7: Securing your WordPress Blog
Chapter 8: SEO Tips and Tricks to Get More Visits
Chapter 9: Making Money with WordPress
Chapter 10: Enhancing User Experience
Chapter 11: Make your Blog Stand Out
Index
  • Chapter 1: Getting Ready to Cook with WordPress
    • Using built-in WordPress tools
    • Managing media files with the Media Library
      • Getting ready
      • How to do it
        • Deleting media
        • Bulk media deletion
      • How it works
    • Live editing themes with the built-in Theme Editor
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Editing plugins with the WordPress built-in Plugin Editor
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Managing authors and users with the User Manager
      • Getting ready
      • How to do it
        • Deleting users
        • Editing user details
      • How it works
    • Importing and exporting content with the Import and Export tool
      • Getting ready
      • How to do it
        • Importing content
        • Exporting content
      • How it works
  • Chapter 3: Get the most out of your WordPress Theme
    • Modifying your theme colors
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Modifying your theme fonts
      • Getting ready
      • How to do it
      • There's more...
        • Tips and things to know about fonts
    • Creating and integrating a favicon
      • Getting ready
        • Favicon format
      • How to do it
      • How it works
    • Integrating your own logo
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Adding a link to the homepage
    • Adding social bookmarking buttons to your theme
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Using CSS to style the social bookmarking widget
        • Adding Del.icio.us live count
        • Code explanation
    • Integrating Feedburner feeds on your theme
      • How to do it
      • How it works
    • Integrating Twitter on your theme using the Twitter Tools plugin
      • Getting ready
      • How to do it
      • How it works
    • Displaying your Twitter entries on your blog, using a page template
      • Getting ready
      • How to do it
      • How it works
    • Customizing WordPress admin login page
      • Plugin versus hack
      • How to do it
      • How it works
    • Using conditional tags to display content on specific pages
      • Getting ready
      • How to do it
      • How it works?
      • There's more...
        • Special parameters
    • Using page templates in your theme
      • Getting ready
      • How to do it
      • How it works
    • Creating an archive page
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Creating a custom 404 error page
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Using a static page as a homepage
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Creating a Featured Posts block on your homepage
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Making your new posts stands out with a custom style
      • Getting ready
      • How to do it
      • How it works
      • There's more...
  • Chapter 4: Doing anything with Plugins and Widgets
    • Installing plugins
      • Getting ready
      • How to do it
      • How it works
    • Getting rid of comment spams with Akismet
      • Getting ready
      • How to do it
      • How it works
    • Backing up your database with WP Database Backup
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Scheduling automatic backups
      • How it works
      • There's more…
    • Optimizing your blog performances with WP Super Cache
      • Getting ready
      • How to do it
      • How it works
      • There's more...
      • Prevent URLs from being cached
    • Adding redirects for changed Permalinks
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Using redirects for affiliate marketing and cloaking
    • Get more comments with the Subscribe to Comments plugin
      • How to do it
      • How it works
      • There's more...
    • Accessing real time statistics with WordPress.com Stats
      • Getting ready
      • How to do it
      • How it works
    • Monetizing your blog with ISIS Ads Management
      • Getting ready
      • How to do it
      • How it works
    • Extending WordPress search with Search Unleashed
      • Getting ready
      • How to do it
      • How it works
    • Installing widgets
      • Plugins versus widgets
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Installing downloaded widgets
    • Make your sidebar widget-ready
      • Getting ready
      • How to do it
      • How it works
    • Creating two (or more) different widget-ready zones
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Modifying core widgets
      • Getting ready
      • How to do it
      • How it works
    • Creating your own widget
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Complete widget code
  • Chapter 5: Displaying Posts
    • Getting posts within the WordPress loop
      • Getting ready
      • How to do it
      • How it works
    • Retrieving posts from a particular category only
      • Getting ready
      • How to do it
      • How it works
    • Getting an exact number of posts
      • Getting ready
      • How to do it
      • How it works
    • Retrieving posts by date
      • Getting ready
      • How to do it
      • How it works
    • Getting posts published today
      • Getting ready
      • How to do it
      • How it works
    • Getting posts published exactly a year ago
      • Getting ready
      • How to do it
      • How it works
    • Using two different loops without duplicate posts
      • How to do it
      • How it works
      • Complete code
    • Accessing post data outside of the WordPress loop
      • Getting ready
      • How to do it
      • How it works
        • Usage
    • Accessing permalinks outside the loop
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Using the $post global variable
    • Displaying any RSS feed on your blog
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Displaying thumbnails on your blog homepage
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Defining a default image
    • Alternating background color on post list
      • Getting ready
      • How to do it
      • How it works
    • Displaying posts in two columns
      • Getting ready
      • How to do it
      • How it works
    • Save time by using WordPress shortcodes
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Creating a nice download message box using a shortcode
      • Getting ready
      • How to do it
      • How it works
  • Chapter 6: Managing and Enhancing Multi-Author Blogs
    • Creating an author page template
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Displaying a custom login form in your blog's sidebar
      • Getting ready
      • How to do it
      • How it works
    • Adding a control panel to your blog's sidebar
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Adding a login form and a control panel
    • Configuring author roles
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Controlling what authors can do
    • Displaying author-related information on posts
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Displaying author picture on posts
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Displaying the author's gravatar picture on posts
      • Getting ready
      • How to do it
      • How it works
    • Adding moderation buttons to the comments
      • Getting ready
      • How to do it
      • How it works
    • Getting notified when a new draft is saved
      • Getting ready
      • How to do it
      • How it works
    • Allowing multiple authors on posts
      • Getting ready
      • How to do it
      • How it works
    • Displaying a list of all of the authors
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Controlling the wp_list_authors() function
  • Chapter 7: Securing your WordPress Blog
    • Creating manual backups of your WordPress blog
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Restoring a MySQL backup
      • Getting ready
      • How to do it
      • How it works
    • Creating backups of your WordPress files
      • Getting ready
      • How to do it
      • How it works
    • Using a shell script to create automatic files and database backups
      • Getting ready
      • How to do it
      • How it works
    • Securing your plugins directory
      • Getting ready
      • How to do it
      • How it works
    • Removing a WordPress version from the theme files
      • Getting ready
      • How to do it
      • How it works
    • Getting rid of the Administrator account
      • Getting ready
      • How to do it
      • How it works
    • Automatically forbid login after some failed login attempt
      • Getting ready
      • How to do it
      • How it works
    • Protecting the wp-admin directory brute force with the help of AskApache
      • Getting ready
      • How to do it
      • How it works
    • Restricting wp-admin directory to your IP address
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Allowing access to more than one IP
    • Testing your blog security
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Deny comment posting on no referrer requests
      • Getting ready
      • How to do it
        • The .htaccess method
        • The PHP method
      • How it works
  • Chapter 8: SEO Tips and Tricks to Get More Visits
    • Optimizing your permalinks for SEO
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Structure tags reference
      • Further optimizing your permalinks
    • Migrating your permalinks safely
      • Getting ready
      • How to do it
      • How it works
    • Optimize your title tag for SEO
      • Getting ready
      • How to do it
      • How it works
    • Create Meta descriptions for your posts
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • A more sophisticated code by using custom fields
    • Avoid duplicate content with a robot.txt file
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • PHP code to avoid duplicate content
    • Adding a sitemap to your blog
      • Getting ready
        • How sitemaps works
        • General rules for creating sitemaps
      • How to do it
      • How it works
        • Basic options
    • Using Google Webmaster Tools
      • How to do it
      • How it works
      • There's more...
        • Overview
        • Statistics
        • Links
        • Sitemaps
        • Tools
    • Pinging third party services
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Services to ping
    • Enhancing your WordPress blog SEO with the All in One SEO Pack plugin
      • Getting ready
      • How to do it
      • There's more...
        • Five more tips for a better SEO
  • Chapter 9: Making Money with WordPress
    • Integrating Adsense to your WordPress blog
      • Getting ready
      • How to do it
        • Method 1: Using your Adsense code in your theme files
        • Method 2: Using a text widget to display your Adsense ads
      • How it works
    • Display ads anywhere in your posts by using WordPress shortcodes
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Inserting shortcodes into sidebar widgets
    • Displaying Adsense ads to search engines visitors only
      • Getting ready
      • How to do it
      • How it works
      • There's more...
    • Managing who Sees Ads
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Advanced conditions
    • Inserting ads in your RSS feeds
      • Getting ready
      • How to do it
        • Option 1: Using a hack
        • Option 2: Using a plugin
      • How it works
      • There's more...
        • Solving problems with Feedburner
    • Redirecting your WordPress RSS feeds to Feedburner
      • Getting ready
      • How to do it
        • Option 1: Using a hack
      • How it works
        • Option 2: Using a plugin
      • How it works
      • There's more...
        • Plugin versus hack
    • Show your blog stats to find advertisers
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Managing your 125*125 px ad spots
    • Enhancing your Advertise page by adding Paypal subscriptions
      • Getting ready
      • How to do it
      • There's more...
        • Telling advertisers how to unsubscribe
  • Chapter 10: Enhancing User Experience
    • Replacing the Next and Previous links by a paginator
      • Getting ready
      • How to do it
      • How it works
    • Highlighting searched text in search results
      • Getting ready
      • How to do it
      • How it works
    • Using the CSS sliding doors technique within WordPress
      • Getting ready
      • How to do it
        • Applying this hack to pages
        • Applying this hack to categories
      • How it works
    • Creating a drop-down menu for your categories
      • Getting ready
      • How to do it
        • Step 1: PHP and HTML
        • Step 2: The CSS
        • Step 3: Optional JavaScript
      • How it works
      • There's more...
        • Creating a horizontal drop-down menu
    • Adding a breadcrumb to your theme
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Using a hack to display breadcrumbs
    • Displaying related posts
      • Getting ready
      • How to do it
      • How it works
    • Display tabs on your sidebar
      • Getting ready
      • How to do it
      • How it works
  • Chapter 11: Make your Blog Stand Out
    • Rewarding your commentators to get more comments
      • Making your blog dofollow with the
      • NoFollow Free plugin
        • The NoFollow Free plugin
      • Using the Top Commentators widget
        • Installing the Top Commentators widget
        • Conclusion
    • Adding a print stylesheet to your blog
      • Getting ready
      • How to do it
      • How it works
        • Print button
        • Print stylesheet inclusion and selection
        • Print stylesheet
    • Using WordPress as a photoblog
      • Photoblog themes for WordPress
        • Photoblog
        • Nishita
        • Fotolog
    • Creating your own Photoblog theme
      • Getting ready
      • How to do it
      • How it works
    • Creating an iPhone-friendly version of your blog
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Using an header image
        • Modify the title and slogan
    • Integrating a forum in your WordPress blog
      • Getting ready
      • How to do it
      • How it works
      • There's more...
        • Skins
        • Moderators
        • User groups
Back to BOOK PAGE

Jean-Baptiste Jung

Jean-Baptiste Jung is a self-taught web developer, web designer, and blogger. Jean is pretty active in the WordPress community and the Internet in general, blogging on his blogs CatsWhoCode.com and WpRecipes.com, as well as writing for prestigious blogs as such as Smashing Magazine.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

WordPress 2.7 Cookbook +    Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C# =
50% Off
the second eBook
Price for both: $25.50

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Use filters to add more features to WordPress without editing any core files
  • Easily transform a personal blog to a complete, multi-author online magazine
  • Turn any free WordPress theme into a powerful and polished premium theme by changing colors and fonts, inserting your custom logo, and more
  • Transform a classic theme into a captivating Photoblog
  • Learn how plug-ins and widgets work, and how you can create your own
  • Integrate popular services into your blog including Twitter, FeedBurner, Digg, del.icio.us, and many more
  • Learn proven techniques to attract more readers and comments
  • Incorporate advertisements into your RSS feed
  • Tips and tricks to secure your blog and optimize it for SEO

In Detail

About 120,000 blogs are created every day. Most of them quickly die, but a few stay, grow up, and then become well known and respected places on the Web. If you are seriously interested in being in the top league, you will need to learn all the tricks of the trade. WordPress 2.7 Cookbook focuses on providing solutions to common WordPress problems, to make sure that your blog will be one of the ones that stay.

The author's experience with WordPress enables him to share insights on using WordPress effectively, in a clear and friendly way, giving practical hands-on solutions to WordPress problems, questions, and common tasks – from themes to widgets and from SEO to security.

Are you feeling limited with WordPress, or are you wondering how popular blogs do a certain kind of thing that you can't? With this cookbook, you will learn many WordPress secrets and techniques, with step-by-step, useful recipes dedicated to achieving a particular goal or solve a particular problem. You'll learn the secret of expensive premium themes, how to optimize your blog for SEO and online profits, and how to supercharge WordPress with killer functions used by the most popular blogs over the Internet.

Get solutions to common WordPress problems, to make your blog better, smarter, faster, and more secure

Approach

This is a Packt Cookbook, which means it contains step-by-step instructions to achieve a particular goal or solve a particular problem. The book can be read chapter by chapter, or you can look at the table of contents and read the recipes in no particular order.

Who this book is for

This book is for anyone who wants to enhance their WordPress blog to make it engaging and feature-rich. It is not specifically for developers or programmers; rather it can be used by anyone who wants to get more out of their WordPress blog by following step-by-step instructions. A basic knowledge of PHP/XHTML/CSS/WordPress is desirable but not necessary.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software