WordPress.org

Support

Support » How-To and Troubleshooting » Issues with Conditional Tags

Issues with Conditional Tags

  • Hi,

    I am using a static page (named home) as the first page of my blog. See http://www.americanveterancommunity.com

    I am using the following conditional tag to call the slideshow so it appears only on the home page:

    <?php if ( is_page( 'home' ) ) { include ('slider.php'); } ?>

    However, on the news page where I have put the blog postings, the slideshow is appearing when I don’t want it to be. And it is messing up the background images on that page. See http://americanveterancommunity.com/news/

    Did I do something wrong with the conditional tags? How do I prevent the slideshow from appearing on the news page?

  • The topic ‘Issues with Conditional Tags’ is closed to new replies.
Skip to toolbar