summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2018-06-08 10:12:56 -0400
committerAnthony G. Basile <blueness@gentoo.org>2018-06-08 10:12:56 -0400
commit6da60564e1dd2870cfb7770c2e8dcf8a446aced6 (patch)
treea4106d5f17ec557417ade97a0b8ac7321e35e8bf /themes/twentyfifteen/index.php
parentUpdate jetpack 6.2 (diff)
downloadblogs-gentoo-6da60564e1dd2870cfb7770c2e8dcf8a446aced6.tar.gz
blogs-gentoo-6da60564e1dd2870cfb7770c2e8dcf8a446aced6.tar.bz2
blogs-gentoo-6da60564e1dd2870cfb7770c2e8dcf8a446aced6.zip
Update twentyfifteen 2.0
Diffstat (limited to 'themes/twentyfifteen/index.php')
-rw-r--r--themes/twentyfifteen/index.php19
1 files changed, 11 insertions, 8 deletions
diff --git a/themes/twentyfifteen/index.php b/themes/twentyfifteen/index.php
index db77651e..4ad3d382 100644
--- a/themes/twentyfifteen/index.php
+++ b/themes/twentyfifteen/index.php
@@ -29,7 +29,8 @@ 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.
@@ -38,17 +39,19 @@ get_header(); ?>
*/
get_template_part( 'content', get_post_format() );
- // End the loop.
+ // End the loop.
endwhile;
// Previous/next page navigation.
- the_posts_pagination( array(
- 'prev_text' => __( 'Previous page', 'twentyfifteen' ),
- 'next_text' => __( 'Next page', 'twentyfifteen' ),
- 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
- ) );
+ the_posts_pagination(
+ array(
+ 'prev_text' => __( 'Previous page', 'twentyfifteen' ),
+ 'next_text' => __( 'Next page', 'twentyfifteen' ),
+ 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
+ )
+ );
- // If no content, include the "No posts found" template.
+ // If no content, include the "No posts found" template.
else :
get_template_part( 'content', 'none' );