diff options
Diffstat (limited to 'themes/twentyfourteen/tag.php')
-rw-r--r-- | themes/twentyfourteen/tag.php | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/themes/twentyfourteen/tag.php b/themes/twentyfourteen/tag.php index 5930d2cf..3a3a3c5e 100644 --- a/themes/twentyfourteen/tag.php +++ b/themes/twentyfourteen/tag.php @@ -4,7 +4,7 @@ * * Used to display archive-type pages for posts in a tag. * - * @link https://codex.wordpress.org/Template_Hierarchy + * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package WordPress * @subpackage Twenty_Fourteen @@ -24,22 +24,23 @@ get_header(); ?> <?php // Show an optional term description. $term_description = term_description(); - if ( ! empty( $term_description ) ) : - printf( '<div class="taxonomy-description">%s</div>', $term_description ); + if ( ! empty( $term_description ) ) : + printf( '<div class="taxonomy-description">%s</div>', $term_description ); endif; ?> </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. @@ -50,7 +51,7 @@ get_header(); ?> get_template_part( 'content', 'none' ); endif; - ?> + ?> </div><!-- #content --> </section><!-- #primary --> |