[resolved] My header disappears on single posts in twenty eleven theme! (2 posts)

  1. madisunanne
    Posted 3 years ago #


    I just noticed as I was sending out a link to a single post that the header changed to that image when it was in single post mode.

    I read through some forums & commented out on the below code:

    //echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );!

    That worked for getting rid of the image in the header,
    but now, nothing shows up (not even my custom header)!!!

    Can anyone tell me what I need to fix to make my custom header come back???
    By the way, this only happens on two categories on my site: graphic/design & camera category; the other categories are fine (Why is that?)

    My site is http://www.aninchofhope.com

    Any help would be appreciated,

  2. madisunanne
    Posted 3 years ago #

    For anyone struggling w/this issue, I found an answer through the forum:

    It was quite a big edit, but for anyone else struggling w/this same issue,

    here it is:

    Replace the corresponding header.php section in your child theme w/the edit from the link above, & you should be good to go!

    Thanks again,

    [credit goes to alchymyth/ The Sweeper]

Topic Closed

This topic has been closed to new replies.

About this Topic