Pagination Problem in archive page
-
Hi,
I am trying to customize woo commerce archive page and ran into a pagination problem.
The main/default loop is working fine but I need to display products inside tabs on the basis of categories.So I used WP Query for this purpose and created custom Gutenberg block that displays this functionality. Everything is working except pagination. Number of item can be controlled from Gutenberg option and if we set this option value equal to Setting -> Reading’s post per page value, the pagination works perfectly else it redirects to 404 page error. how do I fix this?
For example, I set number of post in Gutenberg to 3 and set number of post to 10 in Setting -> Reading’s, pagination doesn’t work.
- The topic ‘Pagination Problem in archive page’ is closed to new replies.