Woocommerce Pagination (2 posts)

  1. Zachary Nespral
    Posted 3 years ago #

    Hi guys i currently have a problem ive been trying to sort out. I cannot get my pagination to show up on any of my pages. I have looked in every single file for a remove_action for the pagination and i found 2 so i commented them out and it still isnt working correctly. So i need to know if there is a override function to allowing pagination and if so where would i put it? I do not want to use anything other than the default (i.e. wp-pagenavi)

    Thanks In Advance


  2. invot
    Posted 3 years ago #

    So, I think what you're asking is how to get pagination to show, right? If you're using wp-pagenavi with woocommerce you have to insert the following code into your theme's functions.php file:

    remove_action('woocommerce_pagination', 'woocommerce_pagination', 10);
    function woocommerce_pagination() {
    add_action( 'woocommerce_pagination', 'woocommerce_pagination', 10);

Topic Closed

This topic has been closed to new replies.

About this Topic