summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/twentyfourteen/taxonomy-post_format.php')
-rw-r--r--themes/twentyfourteen/taxonomy-post_format.php27
1 files changed, 14 insertions, 13 deletions
diff --git a/themes/twentyfourteen/taxonomy-post_format.php b/themes/twentyfourteen/taxonomy-post_format.php
index f7cee9f7..243e8f0c 100644
--- a/themes/twentyfourteen/taxonomy-post_format.php
+++ b/themes/twentyfourteen/taxonomy-post_format.php
@@ -9,7 +9,7 @@
* @todo https://core.trac.wordpress.org/ticket/23257: Add plural versions of Post Format strings
* and remove plurals below.
*
- * @link https://codex.wordpress.org/Template_Hierarchy
+ * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Fourteen
@@ -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' );
@@ -51,20 +51,21 @@ get_header(); ?>
_e( 'Archives', 'twentyfourteen' );
endif;
- ?>
+ ?>
</h1>
</header><!-- .archive-header -->
- <?php
+ <?php
// Start the Loop.
- while ( have_posts() ) : the_post();
+ 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() );
+ /*
+ * 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.
@@ -75,7 +76,7 @@ get_header(); ?>
get_template_part( 'content', 'none' );
endif;
- ?>
+ ?>
</div><!-- #content -->
</section><!-- #primary -->