WordPress.org

Forums

Collapse-O-Matic
[resolved] How to Expand only One at a time? (9 posts)

  1. jhample
    Member
    Posted 12 months ago #

    Plugin working great. Would love to have only 1 expanded section at a time so any others auto close when you select a new one. Doable and how?

    https://wordpress.org/plugins/jquery-collapse-o-matic/

  2. JCKnoell
    Member
    Posted 11 months ago #

    http://plugins.twinpictures.de/plugins/collapse-o-matic/documentation/

    A little ways down you'll find the "highlander" attribute.

    It works like a charm. :)

  3. jhample
    Member
    Posted 11 months ago #

    Perfect! Now I get the "There can be only one" reference. Nice.

  4. JCKnoell
    Member
    Posted 11 months ago #

    Make sure to mark this resolved. :) Glad I could help.

  5. jhample
    Member
    Posted 11 months ago #

    "highlander" attribute solves this. Thanks!

  6. Baden
    Member
    Plugin Author

    Posted 11 months ago #

    Issue resolved! Vote for Pedro!

  7. shoky
    Member
    Posted 11 months ago #

    Highlander doesn't work for me - do you have to have the pro version for this feature?

  8. shoky
    Member
    Posted 11 months ago #

    nm - i got it to work - viewing it in visual mode added span tags inside my rel tag - great plugin - thanks!

  9. Baden
    Member
    Plugin Author

    Posted 10 months ago #

    Yeah, always a good idea to edit in TEXT mode when working with shortcodes. Glad you got this issue working. Marked as resolved.

Reply

You must log in to post.

About this Plugin

  • Collapse-O-Matic
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic