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 😉
- The topic ‘Only show slider on 'homepage' ?’ is closed to new replies.