adding featured image support

This commit is contained in:
Holger Koenemann 2014-12-11 17:56:13 +01:00
parent 6a75eaea6b
commit 311417c0eb
3 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,8 @@
<?php the_title( '<h2 class="entry-title">', '</h2>' ); ?>
</header><!-- .entry-header -->
<?php echo get_the_post_thumbnail( $post_id, 'large' ); ?>
<div class="entry-content">
<?php the_content(); ?>
<?php

View File

@ -13,6 +13,8 @@
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
<?php echo get_the_post_thumbnail( $post_id, 'large' ); ?>
<div class="entry-content">
<?php the_content(); ?>
<?php

View File

@ -18,6 +18,8 @@
</header><!-- .entry-header -->
<?php echo get_the_post_thumbnail( $post_id, 'large' ); ?>
<div class="entry-content">
<?php