projects
/
WP-Themes
/
crawfordco.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a2bfb8
)
Update blog single page to include the featured image on the top of the
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 10 Nov 2015 17:05:49 +0000
(12:05 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 10 Nov 2015 17:05:49 +0000
(12:05 -0500)
post
single.php
patch
|
blob
|
history
diff --git
a/single.php
b/single.php
index
2880d55
..
7bca705
100644
(file)
--- a/
single.php
+++ b/
single.php
@@
-17,6
+17,9
@@
<div class="row">
<div class="small-12 columns">
<article id="<?php the_ID()?>" <?php post_class()?>>
+ <?php if (has_post_thumbnail( $post->ID )) { ?>
+ <?php echo get_the_post_thumbnail($post->ID, 'full'); ?>
+ <?php } ?>
<?php echo the_content(); ?>
<footer class="entry-meta small-12 medium-6 medium-push-3 center">
<?php $post_categories = wp_get_post_categories( get_the_ID() );