Widget duplicates after load
-
Hi.
I´m use shortcode and the filter works fine.
My code in the functions.php is:add_action( ‘woocommerce_before_shop_loop’, ‘Gabemedia_storrelser’ );
function Gabemedia_storrelser() {
do_shortcode(‘[br_filters attribute=pa_produkt-stoerrelse type=select title=”Vælg din størrelse”]’);
}At first it works fine, but after selecting a “size”-“Størrelser” and the filter loads the products. Then the function is displaying twice ?
I have no clue, on my test site, it works just fine, and is not duplicating the function.
Best regards.
Daniel Svendsen.The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Widget duplicates after load’ is closed to new replies.