• I’m using the Oxygen theme, which currently shows my posts on the homepage in excerpt form with a thumbnail for each post. I know how to convert the excerpt to content (in the index.php), but I cannot figure out how to remove the thumbnail. When I change the excerpt to content on the home page, the thumbnail is still there. I’d really appreciate any suggestions to fix this. I’ve searched the archives and haven’t found a solution to this specific problem. Thanks!

Viewing 15 replies - 1 through 15 (of 19 total)
  • You could try it with css

    img.wp-post-image
    {
    display:none;
    }

    or find

    <?php the_post_thunbnail();?>

    in your loop template and hide it like this.

    <?/*php the_post_thunbnail();*/?>

    if you want to try css and it doesn’t work, post a link.

    Thread Starter Cakowalik

    (@cakowalik)

    Thanks so much for your reply! I’m actually using the Origin theme, not Oxygen, so I don’t know if that makes a difference, sorry. I couldn’t find the css code in my style sheet to change this, nor could I find the php code in my loop template. Hopefully it’s different for the Oxygen theme.

    Just to clarify, I would like to change my current homepage to show the entire post and pictures, but without the thumbnails. I know how to show the content vs. excerpt, but cannot remove the thumbnails.

    I apologize for the inconvenience. Obviously, I am not proficient in this, and any insight is appreciated.

    Here’s my blog: https://www.walkingwithcake.com/

    I know how to show the content vs. excerpt, but cannot remove the thumbnails.

    are you currently showing excerpts or content?

    try

    .hentry .thumbnail {
     display:none;
    }

    put it at the bottom of style.css

    Thread Starter Cakowalik

    (@cakowalik)

    I’m currently showing excerpts. If I show content, it shows the thumbnail, too, and any picture at the top of the post gets pushed over into my sidebar.

    (I apologize for my mistake earlier. I’m a sleep-deprived mom.)

    Thread Starter Cakowalik

    (@cakowalik)

    AHHH! It worked!!! Thank you very much! I really appreciate it! ??

    Thread Starter Cakowalik

    (@cakowalik)

    Wait. It worked for a second, then went back to the old way. What happened?

    some themes have different selectors for things.

    Try a web page inspector tool like Mozilla Firebug, I used it to find your css in about 15 seconds.

    glad you solved, maybe now you’ll sleep better…

    weird, I’ll check it out. Make sure your code is still there.

    Thread Starter Cakowalik

    (@cakowalik)

    Okay, and I changed it to content. You can see what I mean.

    weird stuff, try

    .featured {
        display: none;
    
    }

    Thread Starter Cakowalik

    (@cakowalik)

    Let me know if you can’t fix it, so I can change it back. It looks really bad right now.

    I never leave people hanging..

    Thread Starter Cakowalik

    (@cakowalik)

    Okay, that seems to have worked! Wait, it went back, too. It works when I put it in, then I respond here, and it goes away. Does that even make sense?

    huh? I’m looking right now and it’s fine, no featured image, just content

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Disabling thumbnails in posts’ is closed to new replies.