Switch to `(get_)the_posts_pagination()` in Twenty Fifteen.
See #29808 Props obenland Built from https://develop.svn.wordpress.org/trunk@30824 git-svn-id: http://core.svn.wordpress.org/trunk@30814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d8615f04ac
commit
904f70c8e1
|
@ -45,7 +45,7 @@ get_header(); ?>
|
|||
endwhile;
|
||||
|
||||
// Previous/next page navigation.
|
||||
the_pagination( array(
|
||||
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>',
|
||||
|
|
|
@ -42,7 +42,7 @@ get_header(); ?>
|
|||
endwhile;
|
||||
|
||||
// Previous/next page navigation.
|
||||
the_pagination( array(
|
||||
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>',
|
||||
|
|
|
@ -34,7 +34,7 @@ get_header(); ?>
|
|||
endwhile;
|
||||
|
||||
// Previous/next page navigation.
|
||||
the_pagination( array(
|
||||
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>',
|
||||
|
|
Loading…
Reference in New Issue