Screencast: Part 24: Making your page title SEO friendly and using the body_class() function

Here are two quick tips to greatly improve your WordPress site. The first will show you how easy it is to make your HTML title tag search engine friendly. It really is just a simple copy and paste and you’ll be ready to rock and roll. The other tip is a way to get WordPress to spit out classes inside your body tag. You can then use these classes to style your pages. The next two screencasts are dedicated to this. Enjoy.

The code you should add to your title tag (inside header.php)


1) { echo ‘ – page ‘. $paged; } ?>


How to add the body_class() function to your body tag

[prettify]> [/prettify]

Links used in Screencast

Back to Main WordPress Page with all Tutorial Links

Back to Main WordPress Page with list of tutorials on creating a WordPress custom theme from scratch.

Leave a Reply

Your email address will not be published. Required fields are marked *