WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jasonramirez
    Member
    Posted 3 months 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
    Member
    Posted 2 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
    Member
    Posted 2 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
    Member
    Posted 2 months ago #

    Same problem here. Any help would be greatly appreciated!

  5. Can
    Member
    Posted 3 weeks ago #

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

    <?php
    if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
      the_post_thumbnail();
    }
    ?>

Reply

You must log in to post.

About this Theme

About this Topic