• voddie

    (@voddie)


    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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Conditional tags’ is closed to new replies.