Hi guys,
Simply, is there a definitive, easy, way to add a new body class in 2.8?
I have accomplished it, but had to go into the post-template.php file in wp-includes, which isn't ideal:
// controls body class background colours
if ($pageID == 7 || $wp_query->post->post_parent == 7){
$classes[] = 'fmcg';
}
if ($pageID == 8 || $wp_query->post->post_parent == 8){
$classes[] = 'corp';
}
I've come across a few tutorial posts like this one (http://is.gd/28nAK). Just wondered how other people were doing it really?
Thanks,
L