WordPress.org

Forums

WooCommerce - excelling eCommerce
How To Add Pagination (1 post)

  1. visualxl
    Member
    Posted 1 year ago #

    Hi,

    Currently, I am trying to display pagination but it does not seem to work.

    Here is what I have done so far:
    1. Installed WP-PageNavi plugin
    2. Added these to my functions.php
    `remove_action('woocommerce_pagination', 'woocommerce_pagination', 10);
    function woocommerce_pagination() {
    wp_pagenavi();
    }
    add_action( 'woocommerce_pagination', 'woocommerce_pagination', 10);`

    To display 9 products in a page, I use this,
    [product_category category="watches" per_page="9"]

    However, despite modifying functions.php, pagination still does not work.

    Please assist.

    https://wordpress.org/plugins/woocommerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic