How To Add Pagination
-
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.
- The topic ‘How To Add Pagination’ is closed to new replies.