• Resolved Libellule

    (@libellule)


    I have set it up to 2 columns on the home page and it’s showing 4
    http://emma.abricot-production.com
    Shortcode : [product_categories parent=”0″ columns=”2″]

    ————————————————————————

    Also on the shop page, issue is – I can’t show 2 columns either. I added this to functions.php with no luck. Amending to 3 shows 3, anything else (1,2,5 etc…) shows 4

    // Change number or products per row to 3
    add_filter(‘loop_shop_columns’, ‘loop_columns’);
    if (!function_exists(‘loop_columns’)) {
    function loop_columns() {
    return 3; // 4 products per row
    }
    }

    Thank you for the help

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce shortcode columns doesn't work’ is closed to new replies.