Herhangi bir HUSKY filtresini ürünlerin üzerine nasıl eklerim?
Dosyada functions.php mevcut WordPress temasının bir sonraki kodu ekleyin:
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);
Öznitelik ‘ad‘ herhangi bir isimde olabilir, ancak benzersiz olmalı