Twenty Eleven: allow content-single.php to be overridden for post formats, props murky. Closes #17996.

git-svn-id: https://develop.svn.wordpress.org/trunk@21491 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2012-08-09 18:31:02 +00:00
parent fc4fffaad5
commit e41b7dcf5a

View File

@ -20,7 +20,7 @@ get_header(); ?>
<span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?></span>
</nav><!-- #nav-single -->
<?php get_template_part( 'content', 'single' ); ?>
<?php get_template_part( 'content-single', get_post_format() ); ?>
<?php comments_template( '', true ); ?>