WordPress.org

Ready to get started?Download WordPress

Forums

Issues with Conditional Tags (1 post)

  1. dhobeika
    Member
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic