startwordpress/content-single.php
2016-01-14 02:48:43 -06:00

9 lines
No EOL
293 B
PHP

<div class="blog-post">
<h2 class="blog-post-title"><?php the_title(); ?></h2>
<p class="blog-post-meta"><?php the_date(); ?> by <a href="#"><?php the_author(); ?></a></p>
<?php if ( has_post_thumbnail() ) {
the_post_thumbnail();
} ?>
<?php the_content(); ?>
</div><!-- /.blog-post -->