• I was writing my first blogpost and set the feature photo as I’m supposed to (bottom right).
    It shows it perfectly in the overview page, i’m happy with that.
    However it does not show on the top of my post once I click on it. If I add the same picture in my post it shows up double (ofcourse) in the overview page. Not what I want.

    How do I show the featured image on the top of my single post?

    Hope there is someone who can help! ??

    If it helps, my site is: https://www.apieceoffelice.com/ Right now I only have the featured image set and did not add the picture to the top of my post again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @apieceoffelice

    I checked the theme locally and found that the code for displaying the featured image in the single post is missing.
    So to fix this issue you need to create and activate child theme.

    Child theme reference:
    child theme
    Child Theme

    After successfully creating and activating child theme, in you main theme’s folder you will see content-single.php file copy this file as it is in child theme’s folder.
    Now you need edit this file that is in child theme’s folder.

    Now in that file in line no:18 you will see below block of code:

    <div class="entry-content">

    Now just above line no:18 this you need to copy below block of code.

    <?php if ( has_post_thumbnail() ) : ?>
           <div class="entry-thumbnail">
               <?php the_post_thumbnail( 'sketch-featured' ); ?>
           </div>
       <?php endif; ?>

    Hope this will resolve your issue.

    Best Regards!!!

    Thank you again for your help here, @teeru!

    @apieceoffelice: I can confirm that featured images are not included at the top of single posts in Sketch, this is part of the theme’s default design. If you’d like to include them then you can follow the steps that @teeru kindly lay out.

    If questions come up along the way then we’ll be right here.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to make the featured photo show in the single post’ is closed to new replies.