diff options
Diffstat (limited to 'themes/twentyfourteen/taxonomy-post_format.php')
-rw-r--r-- | themes/twentyfourteen/taxonomy-post_format.php | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/themes/twentyfourteen/taxonomy-post_format.php b/themes/twentyfourteen/taxonomy-post_format.php index f7cee9f7..fa733505 100644 --- a/themes/twentyfourteen/taxonomy-post_format.php +++ b/themes/twentyfourteen/taxonomy-post_format.php @@ -26,8 +26,8 @@ get_header(); ?> <header class="archive-header"> <h1 class="archive-title"> <?php - if ( is_tax( 'post_format', 'post-format-aside' ) ) : - _e( 'Asides', 'twentyfourteen' ); + if ( is_tax( 'post_format', 'post-format-aside' ) ) : + _e( 'Asides', 'twentyfourteen' ); elseif ( is_tax( 'post_format', 'post-format-image' ) ) : _e( 'Images', 'twentyfourteen' ); @@ -57,14 +57,15 @@ get_header(); ?> <?php // Start the Loop. - while ( have_posts() ) : the_post(); - - /* - * Include the post format-specific template for the content. If you want to - * use this in a child theme, then include a file called content-___.php - * (where ___ is the post format) and that will be used instead. - */ - get_template_part( 'content', get_post_format() ); + while ( have_posts() ) : + the_post(); + + /* + * Include the post format-specific template for the content. If you want to + * use this in a child theme, then include a file called content-___.php + * (where ___ is the post format) and that will be used instead. + */ + get_template_part( 'content', get_post_format() ); endwhile; // Previous/next page navigation. |