WordPress.org

Ready to get started?Download WordPress

Forums

Arconix Shortcodes
[resolved] [Plugin: Arconix Shortcode Collection] All accordion closed bug (2 posts)

  1. qzonk
    Member
    Posted 2 years ago #

    Hi
    Gr8 plugin thanks alot m8

    just have a problem with accordion the first one load open i want them all load closed

    [accordions]
    [accordion title="Accordion 1"]
    Accordion 1 Content here
    [/accordion]
    [accordion title="Accordion 2"]
    Accordion 2 Content here
    [/accordion]
    [accordion title="Accordion 3" last="last"]
    Accordion 3 Content here
    [/accordion]
    [/accordions]

    used this code dunno why they load open

    http://wordpress.org/extend/plugins/arconix-shortcodes/

  2. John Gardner
    Member
    Plugin Author

    Posted 2 years ago #

    Hi qzonk,

    Thank you for using my plugin.

    Change the 1st line of that code
    [accordions]
    to
    [accordions load="none"]

    That will force all the accordions to load closed. Just keep in mind that as soon as the user opens one of the accordions, they cannot be all collapsed again unless the page is refreshed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic