Book Image

WordPress 3 Cookbook

By : Ric Shreves, Jean-Baptiste Jung
Book Image

WordPress 3 Cookbook

By: Ric Shreves, Jean-Baptiste Jung

Overview of this book

<p>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?<br /><br /><i>WordPress 3 Cookbook</i> 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 &ndash; from themes to widgets and from SEO to security. <br /><br />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. <br /><br />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.<br /><br />This book helps you to get solutions to common WordPress problems, to make your site better, smarter, faster, and more secure.</p>
Table of Contents (16 chapters)
WordPress 3 Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Displaying author-related information on posts


It's always good for the reader to know the author of the article that they're currently reading. It's even better if they can learn some extra information about the author, such as his website, a short bio, and so on. While many modern themes offer the option to display author info on posts, if your theme does not, you may want to consider adding this information to your posts, as it benefits both your site visitors and your authors.

In this recipe, you'll learn how to edit your single.php theme file to automatically retrieve the author-related information, and display it at the top of the page.

Note

Note that many themes today offer the option to display author info, photos, or avatars. This recipe, therefore, is intended for themes that lack this capacity.

Getting ready

All you need to execute this recipe is your favorite text editor and access to the theme files of your WordPress installation.

How to do it...

Once you have made sure that your authors...