WordPress.org

Forums

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

  1. jhample
    Member
    Posted 2 years 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 2 years 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 2 years ago #

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

  4. JCKnoell
    Member
    Posted 2 years ago #

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

  5. jhample
    Member
    Posted 2 years ago #

    "highlander" attribute solves this. Thanks!

  6. Baden
    Member
    Plugin Author

    Posted 2 years ago #

    Issue resolved! Vote for Pedro!

  7. shoky
    Member
    Posted 2 years ago #

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

  8. shoky
    Member
    Posted 2 years 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 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic