Update themes
This commit is contained in:
parent
e00f87f2f5
commit
168d1a5ee7
98 changed files with 6532 additions and 2223 deletions
|
|
@ -9,7 +9,7 @@
|
|||
* new template file for each one. For example, tag.php (Tag archives),
|
||||
* category.php (Category archives), author.php (Author archives), etc.
|
||||
*
|
||||
* @link https://codex.wordpress.org/Template_Hierarchy
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Sixteen
|
||||
|
|
@ -32,7 +32,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.
|
||||
|
|
@ -41,17 +42,19 @@ 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' );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue