If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #13269

    Sorry if this has been answered. Searching turned up instructions for other themes but they didn’t work for Habitat. (Files to edit don’t exist in Habitat.)

    I’d like to remove the featured images from the top of my posts and from the blog page, but I still want the thumbnails to show up in the “related posts” section at the bottom of posts and the like. How would I go about doing this?



    Open up index.php and replace:

    $medium_prev_image = display_featured_media($counter);


    $medium_prev_image = '';




    Awesome, that did the trick. Thanks.



    Glad that I could help you :)

    Best regards,


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

The topic ‘Remove featured image mainpage and post without removing thumbnail?’ is closed to new replies.