Support » Themes and Templates » Only show slider on 'homepage' ?

  • Hello,

    I’ve recently built my own theme by following a tutorial, and I’ve added a featured post slider myself. All is working well, apart of that thing showing up on every page instead of just the homepage.

    Can anyone perhaps tell me, or give me some hints on how to remove it from the other pages?

    The featured posts item is included in the header.php, which is loaded on every page. Now I recon it is not possible to “block” it out of the normal page.php unless I make a seperate header.php which excludes the featured posts script.

    You can see what I mean here:

    Also, I’m quite a PHP noob so don’t flame me too hard 😉

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Only show slider on 'homepage' ?’ is closed to new replies.