WordPress.org

Ready to get started?Download WordPress

Forums

Conditional tags (2 posts)

  1. voddie
    Member
    Posted 5 years ago #

    Hi

    Im new to conditional tags and cannot seem to find what Im looking for thro the docs and forum.

    Im using the conditional tags in my header.php to display a different image background for individual pages, i.e

    } elseif (is_page('support')) {
                 echo "<div id=\"headimagespace\" class=\"imagesupport\">Support</div>";
    etc

    My homepage is a static page 'home' and my blog is under 'news'

    What conditional tag would I use so the I can control what image appears when a visitor clicks 'news' to see my blog?

    Thanks for any help offered

    Voddie

  2. moshu
    Member
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic