diff options
Diffstat (limited to 'themes/twentyfourteen/archive.php')
-rw-r--r-- | themes/twentyfourteen/archive.php | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/themes/twentyfourteen/archive.php b/themes/twentyfourteen/archive.php index e2b4b414..6a4deed0 100644 --- a/themes/twentyfourteen/archive.php +++ b/themes/twentyfourteen/archive.php @@ -27,8 +27,8 @@ get_header(); ?> <header class="page-header"> <h1 class="page-title"> <?php - if ( is_day() ) : - printf( __( 'Daily Archives: %s', 'twentyfourteen' ), get_the_date() ); + if ( is_day() ) : + printf( __( 'Daily Archives: %s', 'twentyfourteen' ), get_the_date() ); elseif ( is_month() ) : printf( __( 'Monthly Archives: %s', 'twentyfourteen' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyfourteen' ) ) ); @@ -46,15 +46,14 @@ get_header(); ?> <?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. |