adding featured image support
This commit is contained in:
parent
6a75eaea6b
commit
311417c0eb
|
@ -11,6 +11,8 @@
|
||||||
<?php the_title( '<h2 class="entry-title">', '</h2>' ); ?>
|
<?php the_title( '<h2 class="entry-title">', '</h2>' ); ?>
|
||||||
</header><!-- .entry-header -->
|
</header><!-- .entry-header -->
|
||||||
|
|
||||||
|
<?php echo get_the_post_thumbnail( $post_id, 'large' ); ?>
|
||||||
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<?php the_content(); ?>
|
<?php the_content(); ?>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
</div><!-- .entry-meta -->
|
</div><!-- .entry-meta -->
|
||||||
</header><!-- .entry-header -->
|
</header><!-- .entry-header -->
|
||||||
|
|
||||||
|
<?php echo get_the_post_thumbnail( $post_id, 'large' ); ?>
|
||||||
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<?php the_content(); ?>
|
<?php the_content(); ?>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
|
|
||||||
</header><!-- .entry-header -->
|
</header><!-- .entry-header -->
|
||||||
|
|
||||||
|
<?php echo get_the_post_thumbnail( $post_id, 'large' ); ?>
|
||||||
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
Reference in New Issue