Support » Plugin: WordPress Shortcodes » shortcode accordion – all closed on page load?

  • Resolved jhguynn


    Synved, I took your advice and rated your plugin (I gave you an earnest 5 star rating), and will preview your premium addons/themes and consider a purchase. I appreciate your hard work.

    I’m using your tab and accordion shortcode. I’d like all parts of the accordion to be closed on page load (rather than having the first open and all others closed). Can I accomplish this by modifying the shortcode? Or do I need to edit the plugin code itself? In any case, I’d appreciate some guidance.

    Many Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Synved


    There’s a parameter for that, collapse=”always”. It’s a good idea to check the documentation for the shortcodes when you edit them in the Shortcode Editor 😉

    Sorry to be an idiot, but how do I insert that collapse code in the custom editor?


    Here is what a sample accordion shortcode will look like with the collapse=”always” added:

    [sections collapse=”always”]
    [section title=”Title 1″]
    Content 1
    [section title=”Title 2″]
    Content 2

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘shortcode accordion – all closed on page load?’ is closed to new replies.