summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/twentyfourteen/archive.php')
-rw-r--r--themes/twentyfourteen/archive.php27
1 files changed, 14 insertions, 13 deletions
diff --git a/themes/twentyfourteen/archive.php b/themes/twentyfourteen/archive.php
index 6a4deed0..9d2ba95f 100644
--- a/themes/twentyfourteen/archive.php
+++ b/themes/twentyfourteen/archive.php
@@ -10,7 +10,7 @@
* already has tag.php for Tag archives, category.php for Category archives,
* and author.php for Author archives.
*
- * @link https://codex.wordpress.org/Template_Hierarchy
+ * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Fourteen
@@ -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' ) ) );
@@ -40,20 +40,21 @@ get_header(); ?>
_e( 'Archives', 'twentyfourteen' );
endif;
- ?>
+ ?>
</h1>
</header><!-- .page-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.
@@ -64,7 +65,7 @@ get_header(); ?>
get_template_part( 'content', 'none' );
endif;
- ?>
+ ?>
</div><!-- #content -->
</section><!-- #primary -->