Change the number of products per row

Posted on

Add this code to the functions.php file:

// Override the default number of products per row
add_filter('loop_shop_columns', 'nuvo_loop_columns', 999);
function nuvo_loop_columns() {
    return 4; // 4 products per row
}