Permalink
Browse files

Load post format files on single views

Load loop-{format}.php instead of loop-single.php
  • Loading branch information...
1 parent 0ec026e commit a0bad19d434e7fa23788d0c6898e25ff4bf90d15 @jayj committed Sep 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 single.php
View
@@ -19,7 +19,7 @@
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <?php get_template_part( 'loop', 'single' ); // Maybe get_post_format() ?>
+ <?php get_template_part( 'loop', get_post_format() ); ?>
<?php endwhile; ?>

0 comments on commit a0bad19

Please sign in to comment.