Title: swaptitle not changing while collapsing
Last modified: May 22, 2020

---

# swaptitle not changing while collapsing

 *  Resolved [ncurian](https://wordpress.org/support/users/ncurian/)
 * (@ncurian)
 * [6 years ago](https://wordpress.org/support/topic/swaptitle-not-changing-while-collapsing/)
 * Hi,
 * I have a read more thingy with swaptitle nested via shortcode under a parent 
   collapser. Both share a “rel”. Now when I unfold the “read more” it swaps to ”“.
   so far, so good – when i open another topic (with another “rel”) the parent of
   the “read more” closes as it should. Unfortunately this closes the raed-more 
   thingy as well WITHOUT swapping the title, so when I open its parent the next
   time, it is in fold-mode, but with the title in unfold-mode (” “). If you dont
   know now, that its there, you are unable to unfold the text.
 * Can’t figure out, what’s the problem here.
 * I hope, one of you Star Wars guys out there can help me here.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fswaptitle-not-changing-while-collapsing%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [6 years ago](https://wordpress.org/support/topic/swaptitle-not-changing-while-collapsing/#post-12879445)
 * Ahoi.
    Sorry you are experiencing some issues… but don’t be sad, we are here 
   to help! Checked out the link, have some questions:
 * First: you are using the ‘rel’ tag to force items not in the group to collapse.
   We are migrating away from using rel in the upcoming release in favor of ‘group’
   and ‘togglegroup’. You might want to get ahead of the curve and update from the
   latest release candidate on github:
    [https://github.com/baden03/collapse-o-matic](https://github.com/baden03/collapse-o-matic)
 * Here is a demo of how things should be working for you:
    [https://spacedonkey.de/3795/rel-vs-togglegroup/](https://spacedonkey.de/3795/rel-vs-togglegroup/)
 * Are you using shortcode or the ‘roll-your-own’ method to create the accordion
   elements? Can you provide a short example of how you are setting up a collapse
   element with the grouping and the swap-title?
 * Please do the following:
    1. Update the plugin with the github version 2. Post
   a simple example of how the grouped elements with swaptitles are being integrated
   on the site.
 * Worry not, we’ll get you squared away in short order.
 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [6 years ago](https://wordpress.org/support/topic/swaptitle-not-changing-while-collapsing/#post-12891275)
 * any joy/nojoy results to report?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘swaptitle not changing while collapsing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-collapse-o-matic_fffeff.svg)
 * [Collapse-O-Matic](https://wordpress.org/plugins/jquery-collapse-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-collapse-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-collapse-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-collapse-o-matic/reviews/)

## Tags

 * [collapse-o-matic](https://wordpress.org/support/topic-tag/collapse-o-matic/)
 * [nested](https://wordpress.org/support/topic-tag/nested/)
 * [swaptitle](https://wordpress.org/support/topic-tag/swaptitle/)

 * 2 replies
 * 2 participants
 * Last reply from: [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/swaptitle-not-changing-while-collapsing/#post-12891275)
 * Status: resolved