Move roots_entry_meta into its own template

No need for this HTML to be in a function. Now instead of calling the
function, just use get_template_part
This commit is contained in:
Scott Walkinshaw
2012-09-19 13:58:57 -04:00
parent 267e24e9a3
commit b61a3b0285
4 changed files with 5 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<header>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php roots_entry_meta(); ?>
<?php get_template_part('templates/entry-meta'); ?>
</header>
<div class="entry-content">
<?php the_content(); ?>
@@ -13,4 +13,4 @@
</footer>
<?php comments_template('/templates/comments.php'); ?>
</article>
<?php endwhile; ?>
<?php endwhile; ?>