Hey!
I want to have all Toggles from the Accordeon open when i come on a site. I found this link https://kriesi.at/support/topic/how-do-i-set-accordion-to-have-all-toggles-open-by-default-and-not-only-one/
and put the function to function.php
but it don’t works.
Can you help me.
THX
Hey surfaholic!
Thank you for using Enfold.
Do you mind if we take a look at the actual page where you’re testing this? This code should work:
function add_custom_script(){
?>
<script>
jQuery(window).load(function(){
jQuery("p.toggler").trigger('click');
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_script');
Cheers!
Ismael