Useful WordPress Template Updates

A continual collection of WordPress template and code changes that I find useful when designing and developing WordPress blogs.

Body Class Reference

Especially when developing a number of custom elements on specific pages of your site you will want to be able to call that specific page or body class using the following update to the header.php file

Replace

<body>

With

<body <?php body_class( $class ); ?>>

Speak Your Mind

*

CAPTCHA image
*