Products pagination issue – fix - by singleframe

This topic has 2 replies, 2 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp

  • Avatar: singleframe
    singleframe
    Participant
    January 20, 2015 at 11:40

    The pagination issue was corrected in the latest version, however for whatever reason it continued on my version, this is a quick and simple fix:

    Open file: wp-content > themes > royal > woocommerce > loop > pagination.php

    Change
    'base' => esc_url( str_replace( 999999999, '%#%', remove_query_arg( 'add-to-cart', get_pagenum_link( 999999999, false ) ) ) ),

    To
    'base' => esc_url_raw( str_replace( 999999999, '%#%', remove_query_arg( 'add-to-cart', get_pagenum_link( 999999999, false ) ) ) ),

    This fixes the issue.

    Hope this helps anyone getting frustrated by this

    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    January 20, 2015 at 12:22

    Hello,

    Thank you for sharing the solution.
    We appreciate it very much.

    Have a nice day!
    Regards,
    Eva Kemp.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.