HUSKY - Product Filter for WooCommerce

Come inserire un filtro HUSKY sopra la griglia prodotti WooCommerce

Nel file functions.php del tema WordPress corrente aggiungi il codice seguente:

add_action('woocommerce_before_shop_loop', function () {
    if (!WOOF_REQUEST::isset('woof_before_shop_loop_done')) {
        echo do_shortcode('[woof_front_builder name="top filter"]');
    }
}, 2);

L'attributo ‘nome’ può avere qualsiasi nome, ma deve essere univoco