WOOF - WooCommerce Products Filter

How to force filtered results to show in three columns only

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 …