HUSKY - Products Filter Professional for WooCommerce

Comment insérer n'importe quel filtre HUSKY au-dessus des produits ?

Dans le fichier functions.php du thème WordPress actuel ajoutez le code suivant :

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);

Attribut 'nom‘ peut avoir n'importe quel nom, mais unique