The next step is to put featured images in the content template, and all it takes is adding one line:
<header class="entry-header">
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
<?php if ( 'post' == get_post_type() ) : ?>
<div class="entry-meta">
<?php topcat_posted_on(); ?>
</div><!-- .entry-meta -->
<?php the_post_thumbnail('small-thumbnail'); ?>
<?php endif; ?>
</header><!-- .entry-header -->
Tip
Post thumbnails or featured images
While listing the excerpts of posts, we want to also show their post thumbnail—if they are available. This is why featured images are also called post thumbnails—like thumbnails in a gallery, they represent the post in the list context.
If you remember, we have added the two sizes of post thumbnails in the Chapter 6, Responsive...