diff --git a/wp-content/themes/twentyfifteen/archive.php b/wp-content/themes/twentyfifteen/archive.php index 8fe0e41e7b..bb6021e3cb 100644 --- a/wp-content/themes/twentyfifteen/archive.php +++ b/wp-content/themes/twentyfifteen/archive.php @@ -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' => '' . __( 'Page', 'twentyfifteen' ) . ' ', diff --git a/wp-content/themes/twentyfifteen/index.php b/wp-content/themes/twentyfifteen/index.php index 2f98a1c325..db77651ebf 100644 --- a/wp-content/themes/twentyfifteen/index.php +++ b/wp-content/themes/twentyfifteen/index.php @@ -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' => '' . __( 'Page', 'twentyfifteen' ) . ' ', diff --git a/wp-content/themes/twentyfifteen/search.php b/wp-content/themes/twentyfifteen/search.php index 647a45e01d..5954360f3f 100644 --- a/wp-content/themes/twentyfifteen/search.php +++ b/wp-content/themes/twentyfifteen/search.php @@ -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' => '' . __( 'Page', 'twentyfifteen' ) . ' ',