Come inserire qualsiasi filtro HUSKY sopra i prodotti?
Nel file functions.php del tema WordPress attuale aggiungi il seguente codice:
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);
Attributo 'nome‘ può avere qualsiasi nome, ma unico