wp/wp-content/themes/twentythirteen/archive.php
changeset 7 cf61fcea0001
parent 5 5e2f62d02dcd
child 10 372f2766ea20
--- a/wp/wp-content/themes/twentythirteen/archive.php	Tue Jun 09 11:14:17 2015 +0000
+++ b/wp/wp-content/themes/twentythirteen/archive.php	Mon Oct 14 17:39:30 2019 +0200
@@ -24,9 +24,10 @@
 
 		<?php if ( have_posts() ) : ?>
 			<header class="archive-header">
-				<h1 class="archive-title"><?php
-					if ( is_day() ) :
-						printf( __( 'Daily Archives: %s', 'twentythirteen' ), get_the_date() );
+				<h1 class="archive-title">
+				<?php
+				if ( is_day() ) :
+					printf( __( 'Daily Archives: %s', 'twentythirteen' ), get_the_date() );
 					elseif ( is_month() ) :
 						printf( __( 'Monthly Archives: %s', 'twentythirteen' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentythirteen' ) ) );
 					elseif ( is_year() ) :
@@ -34,11 +35,15 @@
 					else :
 						_e( 'Archives', 'twentythirteen' );
 					endif;
-				?></h1>
+				?>
+				</h1>
 			</header><!-- .archive-header -->
 
 			<?php /* The loop */ ?>
-			<?php while ( have_posts() ) : the_post(); ?>
+			<?php
+			while ( have_posts() ) :
+				the_post();
+?>
 				<?php get_template_part( 'content', get_post_format() ); ?>
 			<?php endwhile; ?>