PacktLib: WordPress 3 Cookbook

WordPress 3 Cookbook

Credits

About the Author

About the Reviewer

www.PacktPub.com

Preface

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

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

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

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

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

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

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

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

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

Index