WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Change the number of columns products are displayed in Shop

[Resolved] Change the number of columns products are displayed in Shop

Viewing 1 replies (of 1 total)
  • From the WooCommerce docs … add something like this to your theme functions.php file:

    add_filter('loop_shop_columns', 'loop_columns');
    if (!function_exists('loop_columns')) {
         function loop_columns() {
              return 3; // 3 products per row
         }
    }
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Change the number of columns products are displayed in Shop’ is closed to new replies.