I am having the same problem, but nobody has responded to my post to advise me on how to resolve it.
@fionder, I finally got it to collapse after much research and testing out some ideas. I added active=3 into the shortcode and somehow it collapsed. I think I shouldn’t have to do this. And when and if there is an update my fix may break. The plugin version is Version .7.
This is what the code looks like now and so far all are collapsed when coming to the page with the accordion:
[accordions clearStyle=false collapsible=true active=3 ]
[accordion title="Architecture" icontype="square"]
Stuff goes here
[/accordion]
[/accordions]
[accordions clearStyle=false collapsible=true]
[accordion title="Master Planning" icontype="square"]
More Stuff
[/accordion]
[/accordions]
Hope that helps.
Skippywp
@skippywp, thank you, that did work (only I had to use “active=5” as I had 5 sections on the page). However I have now discovered that the plugin is causing paragraphs to wrap on pages and posts throughout the site so I will have to take it off and search for an alternative.
@skippywp – following on from above I noticed this post: https://ww.wp.xz.cn/support/topic/accordion-disabling-auto-p-tags?replies=4
I updated the php file accordingly and this appears to have resolved the issue of the first accordion not collapsing as well as the paragraph spacing issue.
@fionder, I made the change based on the link you provided above, but did not resolve the first accordion not collapsing upon first visit to page. I had to keep the “active=3”.
I am going to leave it as is for now.