Different container id for different blog
-
Hi all,
I want to assign 2 different classes for each blogs linked to my WPMU.
I want to put a code in the header.php like this:<div id="conteiner" <?php if (is_blog == 1): ?>class="blog1"<?php else: ?> class="blog2"<?php endif;?>>
But I did not find an existing function that checks the id of the blog.
Someone can help me?
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Different container id for different blog’ is closed to new replies.