• Resolved markvale

    (@markvale)


    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.

    https://www.ads-software.com/plugins/pagination/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    We have received your request and it is now being processed. We will get back to you on this forum as soon as we can.

    Regards,
    BestWebSoft Support Team

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Thank you for the suggested solution. We’ll consider it and we’ll make the necessary changes in the future plugin update.

    Sincerely,
    BestWebSoft Support Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘pagination not display above and below on archive’ is closed to new replies.