Make front page (with blog) different from all other pages/posts
-
Please refer to: https://childinjuryprevention.ca/
The image near the top of the page is a slideshow. I want the only place for viewers to see the slideshow of images to be on the front page (not when you click on a post, archives, a category, a tag, etc).
I tried to do this by replacing “<?php get_header(); ?>” in index.php with “<?php include(TEMPLATEPATH.’/header-frontpage.php’); ?>”. However, now when I click on “← Older posts” there are a bunch of broken images where the slideshow was on the front page. (I do not want the slideshow on the “Older posts” page.)
Are there any suggestions on how I would make it so the slideshow only shows on the front page?
Thank you in advance!
Edit: Could I use conditionals?
Edit: Oops, never mind. Conditionals don’t seem to work.
- The topic ‘Make front page (with blog) different from all other pages/posts’ is closed to new replies.