How to change the number of product categories per row using WooCommerce
<p>I'm using Woocommerce settings to show categories thumbnail on the initial shop page and then products and their thumbnails within them.</p>

<p>I want to have that initial category page to display 3 thumbnails per row and the products page to show 5 categories per row.</p>

<p>To display 5 products per row I've used:</p>

<pre><code>add_filter('loop_shop_columns', 'loop_columns');
if (!function_exists('loop_columns')) {
    function loop_columns() {
    return 5;
    }
}
</code></pre>

<p>This changes the thumbnails per row on the category page AND on the shop page too.</p>

<p>Does anyone know how I can change the categories page to 3 thumbnails per row and maintain 5 products per row on shop page?</p>