WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. visualxl
    Member
    Posted 4 months 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/

Reply

You must log in to post.

About this Plugin

About this Topic