Support » Fixing WordPress » Issues with Conditional Tags

  • dhobeika



    I am using a static page (named home) as the first page of my blog. See

    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

    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.