Answer the question
In order to leave comments, you need to log in
Number of columns for a specific product category?
There is a code for displaying goods in 3 columns. How to set the display of 3 columns for a specific product category or subcategory.
add_filter('loop_shop_columns', 'loop_columns');
if (!function_exists('loop_columns')) {
function loop_columns() {
return 3; // 3 products per row
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question