WooCommerce Docs

Documentation, Reference Materials, and Tutorials for your WooCommerce products


Change number of products per row

Defines where ‘first’ and ‘last’ classes are applied in product archives

Custom Theme ↑ Back to Top

If you’re building a custom theme it may be useful to make this pluggable for other developers

WooTheme ↑ Back to Top

If you’re using a WooTheme then this code may have been utilised in the theme. It will already be pluggable which means you’ll need to redefine the function in your functions.php file (preferably in a child theme) to overwrite the theme default.

Plugin ↑ Back to Top

Alternatively, you may want to try the WooCommerce Product Archive Customiser plugin which includes an option to change the number of products displayed per row and more.

Back to the top