Posted By

jessibird on 06/16/09


Tagged

css wordpress


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

jessibird
joelhaus
gd6d


wordpress body_class


 / Published in: PHP
 

URL: http://wpengineer.com/wordpress-28-body_class-automatic_feed_links/

Template Tag body_class

The coming WordPress 2.8 provides a new Template Tag, body_class. This function gives the body element different classes, which gives you the possibility to use it effectively with CSS.

  1. <body <?php body_class(); ?>>

Report this snippet  

You need to login to post a comment.