Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Product Category Pagination

Visit internationalopal.com to see what I am talking about. I am running woocommerce with the virtue theme. The problem is i have multiple items on my shaped opals category under shop. The pagination does not work for this. I have over 40 products in here and 12 items showing but no numbers below to go to another page like the shop page already has.

Why would the shop page have the pagination but the category under that not have any pagination. Can someone help me fix this.

2 Answers

Branko Veljkovic
Branko Veljkovic
6,684 Points

Maybe this will help // Display 24 products per page. Goes in functions.php add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 24;' ), 20 );

http://docs.woothemes.com/document/change-number-of-products-displayed-per-page/

Also, woocommerce product customizer plugin: http://wordpress.org/plugins/woocommerce-product-archive-customiser/

This didnt work for some reason ...I can change the number of products on the page fine, but if i have 20 on a page and 40 total items there is no way to see the 2nd 20 items. No links to click an arrow to go to the next products or numbers(pagination?)

These are category pages FYI.