init - content layout for blog posts

This commit is contained in:
Jacob Haddon 2018-11-16 09:41:06 -05:00
parent 906654f4e9
commit e45e9e6862

12
content.php Normal file
View File

@ -0,0 +1,12 @@
<?php
// content.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 the_content(); ?>
</div><!-- /.blog-post -->