Support » Themes and Templates » Only show slider on frontpage?

  • Hi guys!
    I have a question regarding the slideshow. I’m not sure what’s the best way to explain it, but this is what I hope for:

    Font-page: only 1 picture in the slideshow (the newest post).
    Single-page: again 1 picture but this time only the picture that’s inside the post. (not the newest)
    Page 2,3,4 (and so on): the top picture of the page you are on. If page 2, then the top post of page 2.

    If all this isn’t possible, the 2nd best solution would be to ONLY show the slideshow on the frontpage. Not on the single page or 2,3,4.
    So far I’ve only managed to disable or enable it on every page.

    I hope it makes sence.

    you can take a preview on my test-site at:

Viewing 1 replies (of 1 total)
  • don’t know how do you call/include slideshow in your theme, but something like this will give you a clue what to do

    <?php if (is_front_page() ) {
          include 'slideshow.php';
    } ?>

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