HUSKY - Products Filter Professional for WooCommerce

如何在产品上方插入任何 HUSKY 过滤器?

在文件 functions.php of the current WordPress theme add next code:

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

属性 ‘名称‘ 可以有任何名称,但必须是唯一的