how to have featured image appear in the post page? (7 posts)

  1. jasonramirez
    Posted 1 year ago #

    how to have featured image appear in the post page?

    i see the featured image of my post in the main page also in the recent posts sidebar.... even when doing a search i see the featured image... But when opening that post page, the featured image is nowhere to be seen...

    how to have it shown?

  2. konto
    Posted 11 months ago #

    I have the same problem. Featured images show on the front page but not on single posts, just text. What's wrong?

  3. hazyd
    Posted 11 months ago #

    I would also like to know this. I am guessing it is by design but I would like to know what change I can make to have the featured image show up on the post page.

  4. mikeymouse14
    Posted 11 months ago #

    Same problem here. Any help would be greatly appreciated!

  5. Can
    Posted 9 months ago #

    Try adding the code below into your content-single.php (it is inside the theme folder) file just before <php content>

    if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
  6. wanderwest
    Posted 7 months ago #

    Thanks @Can - perfect solution!

  7. Jose B
    Posted 5 months ago #

    Did you mean to insert right before

    <php the_content();

    I didn't find <php the content> anywhere in content-single.php

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic