WooCommerce Ürün Izgarasının Üstüne Bir HUSKY Filtresi Nasıl Eklenir
Mevcut WordPress temasının functions.php dosyasına aşağıdaki 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);
‘name‘ niteliği herhangi bir ada sahip olabilir, ancak benzersiz olmalıdır