WordPress 3 Cookbook

WordPress 3 Cookbook
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Take your WordPress site to the next level with solutions to common WordPress problems that make your site better, smarter, faster, and more secure
  • Enhance your SEO and make more money online by applying simple hacks
  • Rich with screenshots and practical tasks that you will find quite useful


Book Details

Language : English
Paperback : 328 pages [ 235mm x 191mm ]
Release Date : December 2011
ISBN : 1849514607
ISBN 13 : 9781849514606
Author(s) : Ric Shreves, Jean-Baptiste Jung
Topics and Technologies : All Books, CMS and eCommerce, Cookbooks, Open Source, WordPress

Table of Contents

Chapter 1: The WordPress Cook's Tools
Chapter 2: Installing and Customizing Themes
Chapter 3: Working with Plugins and Widgets
Chapter 4: Customizing Content Display
Chapter 5: Building Interactivity and Community
Chapter 6: Implementing Online Sales and Advertising
Chapter 7: Making an SEO Friendly Site
Chapter 8: Enhancing Usability and Accessibility
Chapter 9: Managing Maintenance and Improving Security
  • Chapter 1: The WordPress Cook's Tools
    • Introduction
    • Managing media files with the Media Library
    • Modifying theme files with the built-in Theme Editor
    • Modifying plugin files with the built-in Plugin Editor
    • Managing users
    • Gaining control over user roles and permissions
    • Setting up editorial workflow
    • Importing and exporting content
    • Installing and using Jetpack
    • Enabling the toolbar for users and administrators
    • Chapter 2: Installing and Customizing Themes
      • Introduction
      • Installing a theme
      • Creating a child theme
      • Modifying your theme colors
      • Modifying your theme fonts
      • Creating and integrating a favicon
      • Adding a custom logo
      • Customizing the login page
      • Using conditional tags to control content display
      • Using multiple page templates
      • Using post formats
      • Creating a custom 404 error page
      • Using a static page as a homepage
      • Adding custom styles to your theme
      • Making your site mobile device friendly
      • Chapter 3: Working with Plugins and Widgets
        • Introduction
        • Installing plugins
        • Installing widgets
        • Adding widget areas to your themes
        • Creating your own widget
        • Modifying core widgets
        • Displaying tabs on your sidebar
        • Using conditional tags to control widget display
        • Displaying widgets inside of posts and pages
        • Chapter 4: Customizing Content Display
          • Introduction
          • Accessing posts within the WordPress loop
          • Retrieving posts from a specific category
          • Getting a specific number of posts
          • Retrieving posts by date
          • Displaying posts published today
          • Displaying posts published exactly one year ago
          • Using multiple loops
          • Accessing post data outside of the WordPress loop
          • Accessing permalinks outside the loop
          • Displaying thumbnails on your homepage
          • Alternating background colors on post lists
          • Displaying posts in two columns
          • Save time by using WordPress shortcodes
          • Enabling the use of shortcodes in widgets
          • Adding notes to your posts
          • Adding tags to your pages
          • Chapter 5: Building Interactivity and Community
            • Introduction
            • Improving navigation with a paginator
            • Highlighting searched text in search results
            • Integrating a forum into your site
            • Adding social bookmarking buttons to your theme
            • Aggregating RSS content
            • Integrating Feedburner into your site
            • Displaying a retweet button on your posts
            • Getting more comments with the Subscribe to Comments Reloaded plugin
            • Remove the nofollow attribute to motivate users to leave comments
            • Provide recognition to your top contributors
            • Displaying author-related information on posts
            • Displaying the author's avatar on posts
            • Allowing multiple authors on posts
            • Displaying a list of all of the authors
            • Creating community with BuddyPress
            • Adding a simple gallery to your site
            • Bringing Facebook functionality into your site
            • Integrating a Twitter stream into your site
            • Chapter 6: Implementing Online Sales and Advertising
              • Introduction
              • Integrating Adsense
              • Displaying ads anywhere in your posts by using WordPress shortcodes
              • Managing ad visibility
              • Inserting ads into your RSS feeds
              • Showing your site stats to find advertisers
              • Enhancing your Advertise page by adding Paypal subscriptions
              • Managing your advertising space with an ad manager
              • Adding a shopping cart to your site
              • Chapter 7: Making an SEO Friendly Site
                • Introduction
                • Making your site visible to search engines
                • Optimizing your permalinks for SEO
                • Migrating your permalinks safely
                • Adding redirects for changed URLs
                • Creating meta descriptions for your posts and pages
                • Avoiding duplicate content with a robots.txt file
                • Pinging third-party services
                • Enhancing site indexing with XML sitemaps
                • Using Google's and Bing's Webmaster Tools
                • Improving SEO with the SEO Ultimate plugin
                • Chapter 8: Enhancing Usability and Accessibility
                  • Introduction
                  • Creating print-friendly pages
                  • Extending WordPress search
                  • Enhancing navigation with breadcrumbs
                  • Stopping SPAM
                  • Optimizing performance with cache management
                  • Displaying a login form
                  • Displaying related posts
                  • Creating a Featured Posts block
                  • Adding a sitemap for your site visitors
                  • Creating a better tag cloud
                  • Adding lightboxes for your photos
                  • Chapter 9: Managing Maintenance and Improving Security
                    • Introduction
                    • Creating a manual backup of your database
                    • Creating an automatic backup with WP DB Backup
                    • Restoring a MySQL backup
                    • Creating backups of your WordPress files
                    • Removing the WordPress version information from your theme files
                    • Getting rid of the Administrator account
                    • Protecting against brute force log in attempts
                    • Denying access to unneeded hints
                    • Adding another layer of protection with HTTP authentication
                    • Restricting access to the wp-admin directory by using the IP address
                    • Testing your site security
                    • Reducing SPAM by selectively blocking comment posting

                    Ric Shreves

                    Ric Shreves is a web applications consultant and tech author. He’s been building websites since the mid-90s and writing about tech for almost as long. Ric specializes in open source content management systems and has written texts on each of the big three: WordPress, Joomla! and Drupal. Ric is the founding partner of water&stone, a digital agency that focuses on new media and online marketing. He works with clients on digital marketing strategy and supervises the SEO implementation team. Ric lives in Bali and divides his time between the island and Singapore.

                    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.

                    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 3 Cookbook +    Expert Cube Development with SSAS Multidimensional Models =
                    50% Off
                    the second eBook
                    Price for both: $37.50

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

                    What you will learn from this book

                    • Turn any free WordPress theme into a powerful and polished premium theme by changing colors and fonts, inserting your custom logo, and more
                    • Learn how plugins and widgets work, and how you can create your own
                    • Integrate popular services into your site including Twitter, facebook, and FeedBurner
                    • Learn proven techniques to attract more readers and comments
                    • Incorporate advertisements into your RSS feed and add a shopping cart to your site
                    • Tips and tricks to secure your site and optimize it for SEO

                    In Detail

                    Using the WordPress Content Management System, you can create a beautiful, dynamic, and amazing website. WordPress is a flexible and powerful tool that's ideal for creating both blog and non-blog websites. Are you feeling limited with WordPress, or are you wondering how popular blogs do a certain kind of thing that you can't?

                    WordPress 3 Cookbook focuses on providing solutions to common WordPress problems so that you can translate your site to one of the best. 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.

                    With this update to the WordPress 2.7 cookbook, you will learn many WordPress 3 secrets and techniques, with step-by-step, useful recipes dedicated to achieving a particular goal or solving a particular problem.

                    You will learn to install and customize themes, work with plugins, customize content display, enhance interactivity with the user and build communities. Then, the book also teaches you to earn revenue through online sales and advertisements. You will also find recipes for SEO and enhancing usability, and the book finally winds up with information on the inevitable maintenance and security.

                    This book helps you to get solutions to common WordPress problems, to make your site better, smarter, faster, and more secure.


                    This is a Packt Cookbook, which means it contains step-by-step instructions to achieve a particular goal or solve a particular problem. There are plenty of screenshots and explained practical tasks to make comprehension quick and easy.

                    Who this book is for

                    This book is not specifically for developers or programmers; rather it can be used by anyone who wants to get more out of their WordPress site 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
                    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