Initially, i successfully implemented this code which enable
if its HOME, then show image X
Else show image Y for the rest of the page.
<?php if ( is_home() || is_front_page() ) : ?> <div id="header"> <a href="<?php bloginfo('siteurl'); ?>"> <div class="logo"></div> <!--end: logo--> <?php else: ?> <div id="header2"> <a href="<?php bloginfo('siteurl'); ?>"> <div class="logo2"> </div> <!--end: logo--> <?php endif ?> </a>
So what I need to do now is having
different header image for HOME, pages and category.
I saw few of the codex, but I have no idea how to mix them together. it wouldn’t work.
- The topic ‘Different header image for different page and category’ is closed to new replies.