summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2019-01-01 22:29:50 -0500
committerAnthony G. Basile <blueness@gentoo.org>2019-01-01 22:29:50 -0500
commit906293ba64e50ebc824586cf9a171aec7ab57c43 (patch)
tree4c515c4d2396c787b8e216904a9bd9d4696efdd2 /themes/twentysixteen/archive.php
parentUpdate twentyfifteen 2.2 (diff)
downloadblogs-gentoo-906293ba64e50ebc824586cf9a171aec7ab57c43.tar.gz
blogs-gentoo-906293ba64e50ebc824586cf9a171aec7ab57c43.tar.bz2
blogs-gentoo-906293ba64e50ebc824586cf9a171aec7ab57c43.zip
Update twentysixteen 1.7
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'themes/twentysixteen/archive.php')
-rw-r--r--themes/twentysixteen/archive.php19
1 files changed, 8 insertions, 11 deletions
diff --git a/themes/twentysixteen/archive.php b/themes/twentysixteen/archive.php
index 7f302359..bdd2967e 100644
--- a/themes/twentysixteen/archive.php
+++ b/themes/twentysixteen/archive.php
@@ -32,8 +32,7 @@ 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.
@@ -42,19 +41,17 @@ get_header(); ?>
*/
get_template_part( 'template-parts/content', get_post_format() );
- // End the loop.
+ // End the loop.
endwhile;
// Previous/next page navigation.
- the_posts_pagination(
- array(
- 'prev_text' => __( 'Previous page', 'twentysixteen' ),
- 'next_text' => __( 'Next page', 'twentysixteen' ),
- 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>',
- )
- );
+ the_posts_pagination( array(
+ 'prev_text' => __( 'Previous page', 'twentysixteen' ),
+ 'next_text' => __( 'Next page', 'twentysixteen' ),
+ 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>',
+ ) );
- // If no content, include the "No posts found" template.
+ // If no content, include the "No posts found" template.
else :
get_template_part( 'template-parts/content', 'none' );