pagination not display above and below on archive
-
Hi
When I select pagination position of ‘above and below main content’ the pagination block only displays above on archive pages.
I’ve tested this on TwentyTwelve and TwentyFifteen themes as well as my own theme.
I think the problem lies in the pagination.php code at line 629
the code currently says:`if ( is_archive() && ( ‘top’ == $pgntn_options[‘loop_position’] || ‘both’ == $pgntn_options[‘loop_position’] ) ) {
$pgntn_is_displayed = true;
} elseif ( ‘both’ == $pgntn_options[‘loop_position’] ) {
add_filter( ‘loop_end’, ‘pgntn_display_with_loop’ );`
if I remove the|| 'both' == $pgntn_options['loop_position']
from 629 the pagination works as it should.
- The topic ‘pagination not display above and below on archive’ is closed to new replies.