Hi GP Team
A Woocommerce related question: How to get a 4 columns Layout in the shop and 1 column layout in Categories, currently with the customizer both are the same. Any hints?
I added that code on the child-theme functions
// Change number or products per row to 4
add_filter(‘loop_shop_columns’, ‘loop_columns’);
if (!function_exists(‘loop_columns’)) {
function loop_columns() {
return 4; // 4 products per row
}
}
But it didn’t work…
thanks
Mikel