Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #291991

    Hi, I was thinking about the Accordions. Is there a way to Expand them all? A button or some function, so I click and all accordions will be opened? A bit frustrating reading FAQ page by opening toggles one by one.

    #292026

    Hi masuurikas!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_script(){
    ?>
    <script>
    jQuery(window).load(function(){
    	   jQuery("p.toggler").addClass("activeTitle");
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    and make sure that you choose “Multiple toggles open allowed” in Accordion settings – http://i.imgur.com/QVC7NO3.png

    Regards,
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Expand All Accordions’ is closed to new replies.