Creating Unique Header Images Using Simple Hooks

Community Forums Forums Design Tips and Tricks Creating Unique Header Images Using Simple Hooks

This topic is: not resolved

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  SoZo 1 year, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4094

    ImageDept.
    Participant

    Does anyone know how to add a unique image to the top of each page. I used the Simple Hooks solution genesis_after_header with this php code:

    if(!is_front_page())
    { ?>
        <img src=”http://test.theimagedepartment.com/wp-content/uploads/2012/12/experience-page-header-image.png” border=0>
    <?php }
    ?>   

    but the same image must appear on all the pages (http://test.theimagedepartment.com/our-services/). I’m trying to add a unique image below the header/navigation area on each of the secondary pages.

    Thanks in advance.

    • This topic was modified 1 year, 11 months ago by  SoZo.
    • This topic was modified 1 year, 11 months ago by  SoZo.
    #14893

    SoZo
    Moderator
    Post count: 1573

    You need to use is_page()


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.