Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
WordPress 3 Cookbook
WordPress 3 Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. The WordPress Cook's Tools
Introduction
Managing media files with the Media Library
Getting ready
How to do it...
Modifying theme files with the built-in Theme Editor
Getting ready
How to do it...
How it works...
There's more...
See also
Modifying plugin files with the built-in Plugin Editor
Getting ready
How to do it...
How it works...
There's more...
See also
Managing users
Getting ready
How to do it...
See also
Gaining control over user roles and permissions
Getting ready
How to do it...
How it works...
See also
Setting up editorial workflow
Getting ready
How to do it...
How it works...
There's more...
See also
Importing and exporting content
Getting ready
How to do it...
Installing and using Jetpack
Getting ready
How to do it...
How it works...
There's more...
Enabling the toolbar for users and administrators
Getting ready
How to do it...
2. Installing and Customizing Themes
Introduction
Installing a theme
Getting ready
How to do it...
There's more...
Installing a theme manually
Creating a child theme
Getting ready
How to do it...
How it works...
There's more...
Customizing the styling of your child theme
Customizing the functionality of your child 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
Using @font-face
Creating and integrating a favicon
Getting ready
How to do it...
How it works...
There's more...
Adding a custom logo
Getting ready
How to do it...
How it works...
Customizing the login page
Getting ready
How to do it...
How it works...
There's more...
Enabling the plugin's modules
Using conditional tags to control content display
Getting ready
How to do it...
How it works...
There's more...
Using multiple page templates
Getting ready
How to do it...
How it works...
There's more...
Adding functionality with template tags
Using post formats
Getting ready
How to do it...
How it works...
There's more...
An easy option for styling post formats
Creating a custom 404 error page
Getting ready
How to do it...
How it works...
Using a static page as a homepage
Getting ready
How to do it...
How it works...
Adding custom styles to your theme
Getting ready
How to do it...
How it works...
Making your site mobile device friendly
Getting ready
How to do it...
How it works...
3. Working with Plugins and Widgets
Introduction
Installing plugins
Getting ready
How to do it...
How it works...
There's more...
Deleting installed plugins automatically
Deleting installed plugins manually
Installing widgets
Getting ready
How to do it...
See also
Adding widget areas to your themes
Getting ready
How to do it...
How it works...
See also
Creating your own widget
Getting ready
How to do it...
How it works...
Modifying core widgets
Getting ready
How to do it...
How it works...
Displaying tabs on your sidebar
Getting ready
How to do it...
How it works...
Using conditional tags to control widget display
Getting ready
How to do it...
How it works...
There's more...
Using the widget content filter
See also
Displaying widgets inside of posts and pages
Getting ready
How to do it...
How it works...
See also
4. Customizing Content Display
Introduction
Accessing posts within the WordPress loop
Getting ready
How to do it
How it works...
There's more...
Retrieving posts from a specific category
Getting ready
How to do it...
How it works...
Getting a specific 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...
Displaying posts published today
Getting ready
How to do it...
How it works...
Displaying posts published exactly one year ago
Getting ready
How to do it...
How it works...
Using multiple loops
Getting ready
How to do it...
How it works...
Accessing post data outside of the WordPress loop
Getting ready
How to do it...
How it works...
There's more...
Using get_post()
Using get_post_data()
Accessing permalinks outside the loop
Getting ready
How to do it...
How it works...
There's more...
Displaying thumbnails on your homepage
Getting ready
How to do it...
How it works...
Alternating background colors on post lists
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...
Enabling the use of shortcodes in widgets
Getting ready
How to do it...
How it works...
Adding notes to your posts
Getting ready
How to do it...
How it works…
Adding tags to your pages
Getting ready
How to do it...
How it works…
5. Building Interactivity and Community
Introduction
Improving navigation with 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...
Integrating a forum into your site
Getting ready
How to do it...
How it works...
There's more...
Skins
Moderators
User groups
See also...
Adding social bookmarking buttons to your theme
Getting ready
How to do it...
How it works...
There's more...
See also...
Aggregating RSS content
Getting ready
How to do it...
How it works...
There's more...
Integrating Feedburner into your site
Getting ready
How to do it...
How it works...
Displaying a retweet button on your posts
Getting ready
How to do it…
How it works…
Getting more comments with the Subscribe to Comments Reloaded plugin
Getting ready
How to do it...
How it works...
There's more...
Remove the nofollow attribute to motivate users to leave comments
Getting ready
How to do it...
How it works...
Provide recognition to your top contributors
Getting ready
How to do it...
How it works...
Displaying author-related information on posts
Getting ready
How to do it...
How it works...
There's more...
Displaying the author's avatar on posts
Getting ready
How to do it...
How it works...
Allowing multiple authors on posts
How to do it...
How it works...
There's more...
Displaying a list of all of the authors
Getting ready
How to do it...
How it works...
There's more...
Creating community with BuddyPress
Getting ready
How to do it…
How it works…
See also...
Adding a simple gallery to your site
Getting ready
How to do it…
How it works…
There's more...
Bringing Facebook functionality into your site
Getting ready
How to do it…
How it works…
See also...
Integrating a Twitter stream into your site
Getting ready
How to do it...
How it works...
There's more...
6. Implementing Online Sales and Advertising
Introduction
Integrating Adsense
Getting ready
How to do it...
How it works...
There's more...
Integrating AdSense using quicktags
Integrating AdSense manually
Displaying ads anywhere in your posts by using WordPress shortcodes
Getting ready
How to do it...
How it works...
Managing ad visibility
Getting ready
How to do it...
How it works...
There's more...
Global options
Inserting ads into your RSS feeds
Getting ready
How to do it...
How it works...
There's more
Showing your site stats to find advertisers
Getting ready
How to do it...
How it works...
There's more
Enhancing your Advertise page by adding Paypal subscriptions
Getting ready
How to do it...
Managing your advertising space with an ad manager
Getting ready
How to do it...
How it works...
There's more...
Creating a new Ad Zone
Adding a shopping cart to your site
Getting ready
How to do it...
How it works...
There's more...
7. Making an SEO Friendly Site
Introduction
Making your site visible to search engines
Getting ready
How to do it...
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...
Adding redirects for changed URLs
Getting ready
How to do it...
How it works...
There's more...
Creating meta descriptions for your posts and pages
Getting ready
How to do it...
How it works...
There's more...
See also
Avoiding duplicate content with a robots.txt file
Getting ready
How to do it...
How it works...
There's more...
A plugin to remove duplicate content
Pinging third-party services
Getting ready
How to do it...
How it works...
Enhancing site indexing with XML sitemaps
Getting ready
How to do it...
How it works...
See also
Using Google's and Bing's Webmaster Tools
Getting ready
How to do it...
How it works...
There's more...
Site configuration
Your site on the web
Diagnostics
Labs
See also
Improving SEO with the SEO Ultimate plugin
Getting ready
How to do it...
There's more...
Five more tips for a better SEO
Get backlinks
Use the proper h tags structure
Make sure your blog is XHTML valid
Use keywords in your content items
See also
8. Enhancing Usability and Accessibility
Introduction
Creating print-friendly pages
Getting ready
How to do it...
How it works...
There's more...
To style the print link
To style the print page
Extending WordPress search
Getting ready
How to do it...
How it works...
There's more
Enhancing navigation with breadcrumbs
Getting ready
How to do it...
How it works...
There's more...
Stopping SPAM
Getting ready
How to do it...
How it works...
Optimizing performance with cache management
Getting ready
How to do it...
How it works...
There's more...
Using a content delivery network
Preloading content
Displaying a login form
Getting ready
How to do it…
How it works...
Displaying related posts
Getting ready
How to do it...
How it works...
There's more...
Creating a Featured Posts block
Getting ready
How to do it...
How it works...
There's more...
Adding a sitemap for your site visitors
Getting ready
How to do it...
How it works...
Creating a better tag cloud
Getting ready
How to do it...
Adding lightboxes for your photos
Getting ready
How to do it...
There's more
9. Managing Maintenance and Improving Security
Introduction
Creating a manual backup of your database
Getting ready
How to do it...
There's more...
See also
Creating an automatic backup with WP DB Backup
Getting ready
How to do it...
How it works...
There's more...
See also
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...
See also
Removing the WordPress version information from your theme files
How to do it...
How it works...
Getting rid of the Administrator account
Getting ready
How to do it...
How it works...
See also
Protecting against brute force log in attempts
Getting ready
How to do it...
How it works...
See also
Denying access to unneeded hints
Getting ready
How to do it...
How it works...
Adding another layer of protection with HTTP authentication
Getting ready
How to do it...
How it works...
See also
Restricting access to the wp-admin directory by using the IP address
Getting ready
How to do it...
How it works...
There's more...
Allowing access to more than one IP
See also
Testing your site security
Getting ready
How to do it...
How it works...
See also
Reducing SPAM by selectively blocking comment posting
Getting ready
How to do it...
How it works...
← Prev
Back
Next →
← Prev
Back
Next →