Force Filtered WooCommerce Products into a Set Number of Columns
In AJAX mode sometimes is necessary to show count of columns not equal to 4. In this case do next please:
- open your current theme file functions.php
- on the same bottom of the file drop next code:
add_filter('loop_shop_columns',function(){return 3;}); - save the file
That is all …
Remember – any count of columns (6 for example) is possible if current wp them allow it! WOOF uses native layout which only provided by activated wp theme …