Support » Theme: Decode » Featured image in full post view

  • Resolved marcinhinz


    One more question. How should I edit theme to get featured image just below post title in full article view?

    I love this theme. You do a amazing work here!

    All the best.

Viewing 3 replies - 1 through 3 (of 3 total)
  • After creating a child theme, editing the content-single file to include:

    <?php if ( has_post_thumbnail() ) : ?>
        <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
             <?php the_post_thumbnail(); ?>
    <?php endif; ?>

    This would look best between the opening <header> and the <div class=”entry-title”>.

    This may also become an official feature in the future.

    Great 🙂
    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Featured image in full post view’ is closed to new replies.