Forums

How to keep header image only to index page? (2 posts)

  1. Nearski1
    Member
    Posted 4 months ago #

    Dear Friendly Wp Experts,

    I am a newbie to wordpress, I just installed a gallery theme where I managed to replace the logo / header image with one of my own. The only problem is it shows on all the posts. (I am showing artwork in the posts so it interferes)

    Is it possible to just show the image on the main start up page and not on the posts?

    Please help meeeee,

    xx

  2. dor
    Member
    Posted 4 months ago #

    Yes; it depends on theme you use.

    Somewhere in you templates you can write smth like:

    <?php if( $post->ID == 3 ) { echo '<.... html code for the header logo image ... >'; }

    Sorry, this really depends on your theme a lot; moreover i'm not sure this is the best way.

Reply

You must log in to post.

About this Topic