• Hi,

    This is a great theme! The only thing wrong to me was that posts weren’t showing featured images. Those only appeared on the index page. That didn’t suit me as my previous theme wasn’t like that, and I didn’t want to modify all my posts. Happily, the solution is easy. It just takes adding:

    <div class="featured-image">
    			<?php the_post_thumbnail('full-width'); ?>
    		</div>

    in content-single.php

    just after:

    <div class="entry-content">

    You can see the result here:
    https://www.motornature.com/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter vortex357HY

    (@vortex357hy)

    I’ve modified the original file, but I’m making a child theme now.

    I’d like to clarify something real quick – so with your modification, the image you select as a Featured Image will also show up in the post when displayed as a single post?

    What’s the format for that? Always left justified as the first item in the post?

    Thanks!

    Thread Starter vortex357HY

    (@vortex357hy)

    No, sorry for late reply.
    The image is coded twice. One as a featured image, and another one as a featured image. I understand this isn’t an elegant solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘adding featured image in posts’ is closed to new replies.