Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author wpCMSdev

    (@wpcmsdev)

    That’s not currently a feature of the plugin. However, we will continue to monitor user demand for this feature, and if it proves to be something that a large number of users want, we will add it.

    Yes I can’t use the accordion unless they are all closed to begin with

    If your first section has a lot of content the user may not even see that it’s an accordion to be closed and you can’t show the all the sections

    Here you go, complements of Brasco ///
    Just call this bit of jQuery (after you’ve loaded jQuery, of course)

    $(window).load(function(){
    	// Hack the WP Accordion
    	$('.accordion-item.active .accordion-item-content').css('display', 'none');
    	$('.accordion-item.active').removeClass('active');
    });

    Thread Starter rengland77

    (@rengland77)

    Awesome, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Close accordion when page loads’ is closed to new replies.