Posted By

kristarella on 03/28/09


Tagged

wordpress thesis thesiswp


Versions (?)

Who likes this?

8 people have marked this snippet as a favorite

girliegeek
mlangfeld
tmbrenneke
fabi
goddess
joelhaus
manavecplan
naeemnur


Filter Thesis body classes


 / Published in: PHP
 

  1. function custom_body_classes($classes) {
  2. if (is_home())
  3. $classes[] = "home";
  4. if (is_category())
  5. $classes[] = "category";
  6.  
  7. return $classes;
  8. }
  9. add_filter('thesis_body_classes','custom_body_classes');

Report this snippet  

You need to login to post a comment.