Default Kubrick theme & $body_id
I managed to grab the latest nightly and saw that Kubrick has become the default theme of WordPress, which is excellent, and I’ve started modifying it to suit my needs.
I want to change the body id of specific pages, for example the body id for single.php is <body id=”archives”> and for index.php is <body id=”blog”> so that my navigation menu shows the correct colours on the different pages.
I used to be able to define <?php $body_id = ‘blog’; ?> before the start of the call for the header.php and change my header.php to have the line <body id=”<?php echo $body_id; ?>”>
Somehow, after switching to the default theme rather than using Ryan’s kubrick 1.3-rc2, the call for the header.php changed to <?php get_header(); ?> instead of <?php include(‘header.php’); ?> and the whole $body_id thing doesn’t work anymore.
I hope you guys understand what I am trying to say here. Any help will be appreciated.
- The topic ‘Default Kubrick theme & $body_id’ is closed to new replies.