Use your business data to your advantage with the help of Syncfusion’s new data science offerings. Discover how a custom big data solution can provide your company with valuable predictions about key market trends.

WordPress 2.7 Cookbook

100 simple but incredibly useful recipes to take control of your WordPress blog layout, themes, widgets, plug-ins, security, and SEO

$18.00

$39.99

RRP $23.99

RRP $39.99

eBook

Print + eBook

Want this title & more?

$21.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847197382

Paperback316 pages

About This Book

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

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.

Table of Contents

Chapter 1: Getting Ready to Cook with WordPress

Managing media files with the Media Library

Live editing themes with the built-in Theme Editor

Editing plugins with the WordPress built-in Plugin Editor

Managing authors and users with the User Manager

Importing and exporting content with the
Import and Export tool

Chapter 2: Finding and Installing Themes

Installing a theme

Chapter 3: Get the most out ofyour WordPress Theme

Modifying your theme colors

Modifying your theme fonts

Creating and integrating a favicon

Integrating your own logo

Adding social bookmarking buttons to your theme

Integrating Feedburner feeds on your theme

Integrating Twitter on your theme using the Twitter Tools plugin

Displaying your Twitter entries on your blog using a page template

Customizing WordPress admin login page

Using conditional tags to display content on specific pages

Using page templates in your theme

Creating an archive page

Creating a custom 404 error page

Using a static page as a homepage

Creating a Featured Posts block on your homepage

Making your new posts stands out with a custom style

Chapter 4: Doing anything withPlugins and Widgets

Installing plugins

Getting rid of comment spams with Akismet

Backing up your database with WP Database Backup

Scheduling automatic backups

Optimizing your blog performances with WP Super Cache

Adding redirects for changed Permalinks

Getting more comments with the Subscribe to Comments plugin

Accessing real time statistics with WordPress.com Stats

Monetizing your blog with ISIS Ads Management

Extending WordPress search with Search Unleashed

Installing widgets

Making your sidebar widget-ready

Creating two (or more) different widget-ready zones

Modifying core widgets

Creating your own widget

Chapter 5: Displaying Posts

Getting posts within the WordPress loop

Retrieving posts from a particular category only

Getting an exact number of posts

Retrieving posts by date

Getting posts published today

Getting posts published exactly a year ago

Using two different loops withoutduplicate posts

Accessing post data outside of the WordPress loop

Accessing permalinks outside the loop

Displaying any RSS feed on your blog

Displaying thumbnails on your blog homepage

Alternating background color on post list

Displaying posts in two columns

Saving time by using WordPress shortcodes

Creating a nice download message box
using a shortcode

Chapter 6: Managing and Enhancing Multi-Author Blogs

Creating an author page template

Displaying a custom login form in your blog's sidebar

Adding a control panel to your blog's sidebar

Configuring author roles

Displaying author-related information on posts

Displaying author picture on posts

Displaying the author's gravatar picture on posts

Adding moderation buttons to the comments

Getting notified when a new draft is saved

Allowing multiple authors on posts

Displaying a list of all of the authors

Chapter 7: Securing yourWordPress Blog

Creating manual backups of your WordPress blog

Restoring a MySQL backup

Creating backups of your WordPress files

Using a shell script to create automatic files and database backups

Securing your plugins directory

Removing a WordPress version from the theme files

Getting rid of the Administrator account

Forbiding login automatically after some failed login attempt

Protecting the wp-admin directory brute force with the help of AskApache

Restricting wp-admin directory to your IP address

Testing your blog security

Denying comment posting on no referrer requests

Chapter 8: SEO Tips and Tricks to Get More Visits

Optimizing your permalinks for SEO

Migrating your permalinks safely

Optimizing your title tag for SEO

Creating Meta descriptions for your posts

Avoiding duplicate content with a robot.txt file

Adding a sitemap to your blog

Using Google Webmaster Tools

Pinging third party services

Enhancing your WordPress blog SEO with
the All in One SEO Pack plugin

Chapter 9: Making Money with WordPress

Integrating Adsense to your WordPress blog

Displaying ads anywhere in your posts by using WordPress shortcodes

Displaying Adsense ads to search enginesvisitors only

Managing who Sees Ads

Inserting ads in your RSS feeds

Redirecting your WordPress RSS feeds to Feedburner

Showing your blog stats to find advertisers

Enhancing your Advertise page by adding Paypal subscriptions

Chapter 10: Enhancing UserExperience

Replacing the Next and Previous links by a paginator

Highlighting searched text in search results

Using the CSS sliding doors technique within WordPress

Creating a drop-down menu for your categories

Adding a breadcrumb to your theme

Displaying related posts

Displaying tabs on your sidebar

Chapter 11: Make your Blog Stand Out

Rewarding your commentators to get more comments

Adding a print stylesheet to your blog

Creating your own Photoblog theme

Creating an iPhone-friendly version of your blog

Integrating a forum in your WordPress blog

What You Will Learn

Use filters to add more features to WordPress without editing any core files

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.

Authors

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.

Alerts & Offers

Series & Level

We understand your time is important. Uniquely amongst the major publishers, we seek to develop and publish the broadest range of learning and information products on each technology. Every Packt product delivers a specific learning pathway, broadly defined by the Series type. This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives.

Learning

As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.

Beginner's Guide

Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges.

Essentials

Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.

Cookbook

A collection of practical self-contained recipes that all users of the technology will find useful for building more powerful and reliable systems.

Blueprints

Guides you through the most common types of project you'll encounter, giving you end-to-end guidance on how to build your specific solution quickly and reliably.

Mastering

Take your skills to the next level with advanced tutorials that will give you confidence to master the tool's most powerful features.

Starting

Accessible to readers adopting the topic, these titles get you into the tool or technology so that you can become an effective user.

Progressing

Building on core skills you already have, these titles share solutions and expertise so you become a highly productive power user.