Support » Themes and Templates » Different header on home page

  • My template has a slider on the homepage in the content area. I want it in the header area (above the navigation and below the logo).

    I took
    <?php include (TEMPLATEPATH . '/includes/homepage-slider.php' ); ?> from the homepage template and pasted it into the header template. Works fine but of course I don’t want it on every page just the home page. This might work with the conditional tag
    <?php if (is_home()) {

    but I am not sure how to put it all together. Any idea?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Different header on home page’ is closed to new replies.