/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function custom_body_classes($classes) { if (is_home()) $classes[] = "home"; if (is_category()) $classes[] = "category"; return $classes; } add_filter('thesis_body_classes','custom_body_classes');
Comments
