WordPress.org

Support

Support » Themes and Templates » Spacious » how to have featured image appear in the post page?

how to have featured image appear in the post page?

  • 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?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have the same problem. Featured images show on the front page but not on single posts, just text. What’s wrong?

    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.

    Same problem here. Any help would be greatly appreciated!

    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();
    }
    ?>

    Thanks @can – perfect solution!

    Did you mean to insert right before

    <php the_content();

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘how to have featured image appear in the post page?’ is closed to new replies.
Skip to toolbar