WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Bassius
    Member
    Posted 3 years ago #

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

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

  2. 123milliseconds
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.