diff options
author | Yury German <blueknight@gentoo.org> | 2019-04-28 18:30:29 -0400 |
---|---|---|
committer | Yury German <blueknight@gentoo.org> | 2019-04-28 18:30:29 -0400 |
commit | 4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e (patch) | |
tree | 171fddc56d74d8492ffb703f04543896b6344243 /themes/twentyfifteen/index.php | |
parent | Updating packages for 5.1.1 (diff) | |
download | blogs-gentoo-4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e.tar.gz blogs-gentoo-4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e.tar.bz2 blogs-gentoo-4ef1e1c47c509ea8ca1f194fcfb9ce816c01f29e.zip |
Updating the themes
Updated themes. The followng themes updated:
Mantra - 3.0.5 => 3.1.0, Twenty Fifteen 2.2 => 2.4
Twenty Fourteen 2.4 => 2.6, Twenty Sixteen 1.7 => 1.9
Signed-off-by: Yury German <blueknight@gentoo.org>
Diffstat (limited to 'themes/twentyfifteen/index.php')
-rw-r--r-- | themes/twentyfifteen/index.php | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/themes/twentyfifteen/index.php b/themes/twentyfifteen/index.php index db77651e..4abac6a1 100644 --- a/themes/twentyfifteen/index.php +++ b/themes/twentyfifteen/index.php @@ -7,7 +7,7 @@ * It is used to display a page when nothing more specific matches a query. * e.g., it puts together the home page when no home.php file exists. * - * Learn more: {@link https://codex.wordpress.org/Template_Hierarchy} + * Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/} * * @package WordPress * @subpackage Twenty_Fifteen @@ -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' ); |