Update themes
This commit is contained in:
parent
e00f87f2f5
commit
168d1a5ee7
98 changed files with 6532 additions and 2223 deletions
|
|
@ -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.
|
||||
*
|
||||
* @link https://codex.wordpress.org/Template_Hierarchy
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
|
|
@ -35,7 +35,8 @@ get_header(); ?>
|
|||
if ( have_posts() ) :
|
||||
|
||||
/* Start the Loop */
|
||||
while ( have_posts() ) : the_post();
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
/*
|
||||
* Include the Post-Format-specific template for the content.
|
||||
|
|
@ -46,11 +47,13 @@ get_header(); ?>
|
|||
|
||||
endwhile;
|
||||
|
||||
the_posts_pagination( array(
|
||||
'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
|
||||
'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
|
||||
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>',
|
||||
) );
|
||||
the_posts_pagination(
|
||||
array(
|
||||
'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
|
||||
'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
|
||||
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>',
|
||||
)
|
||||
);
|
||||
|
||||
else :
|
||||
|
||||
|
|
@ -64,4 +67,5 @@ get_header(); ?>
|
|||
<?php get_sidebar(); ?>
|
||||
</div><!-- .wrap -->
|
||||
|
||||
<?php get_footer();
|
||||
<?php
|
||||
get_footer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue