Only show slider on 'homepage' ? (2 posts)

  1. Bassius
    Posted 5 years ago #


    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: http://www.bassius.nl/wordpress

    Also, I'm quite a PHP noob so don't flame me too hard ;)

  2. 123milliseconds
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.