WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. madisunanne
    Member
    Posted 1 year ago #

    Hello,

    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,
    madisunanne.
    <3

  2. madisunanne
    Member
    Posted 1 year 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:
    http://pastebin.com/umRMsJuT

    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,
    madisunanne.
    <3

    [credit goes to alchymyth/ The Sweeper]

Topic Closed

This topic has been closed to new replies.

About this Topic