Title: Nesting problem
Last modified: February 1, 2018

---

# Nesting problem

 *  Resolved [mygrove](https://wordpress.org/support/users/mygrove/)
 * (@mygrove)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/nesting-problem/)
 * I don’t think I am trying to do something the plugin is not designed to do.
 * Here is a simple list that I want to nest at two levels:
 * Level 1
    Level 2a Detail 2a Detail 2a Level 2b Detail 2b Detail 2b
 * I want it to appear something like this:
 * Level 1
    Show Less Level 2a Show More Level 2b Show More
 * and then:
 * Level 1
    Show Less Level 2a Show Less Detail 2a Detail 2a Level 2b Show Less 
   Detail 2b Detail 2b
 * Now the problem is that toggling at level 1 only controls Level 2a (not 2b) even
   though the terminating shortcode [/bg_collapse] is at the very end.
 * Like this:
 * Level 1
    [bg_collapse view=”link-list” color=”#4a4949″ expand_text=”Show More”
   collapse_text=”Show Less” ] Level 2a [bg_collapse_level2 view=”link-list” color
   =”#4a4949″ expand_text=”Show More” collapse_text=”Show Less” ] Detail 2a Detail
   2a[/bg_collapse_level2] Level 2b [bg_collapse_level2 view=”link-list” color=”#
   4a4949″ expand_text=”Show More” collapse_text=”Show Less” ] Detail 2b Detail 
   2b[/bg_collapse_level2][/bg_collapse]

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

 *  Plugin Author [buntegiraffe](https://wordpress.org/support/users/buntegiraffe/)
 * (@buntegiraffe)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/nesting-problem/#post-9928351)
 * Hello [@mygrove](https://wordpress.org/support/users/mygrove/),
 * I’m afraid nesting link-lists will be a bit too complicated for this simple plugin.
 * If you can consider switching to simple links instead (like at [http://sandbox.bunte-giraffe.de/test-for-mygrove/](http://sandbox.bunte-giraffe.de/test-for-mygrove/)),
   this should do the job.
 * Please let me know if this can be an option for you or you really need to use
   it in lists.
 *  Thread Starter [mygrove](https://wordpress.org/support/users/mygrove/)
 * (@mygrove)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/nesting-problem/#post-9928666)
 * Perfect. Thank you.
 * Even this variation works too:
 * [bg_collapse view=”link” color=”#4a4949″ expand_text=”Level 1″ collapse_text=”
   Level 1″ ]
    [bg_collapse_level2 view=”link” color=”#4a4949″ expand_text=”Level
   2a” collapse_text=”Level 2a” ] Detail 2a Detail 2a[/bg_collapse_level2] [bg_collapse_level2
   view=”link” color=”#4a4949″ expand_text=”Level 2b” collapse_text=”Level 2b” ]
   Detail 2b Detail 2b[/bg_collapse_level2][/bg_collapse]
 *  Plugin Author [buntegiraffe](https://wordpress.org/support/users/buntegiraffe/)
 * (@buntegiraffe)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/nesting-problem/#post-9949977)
 * Thanks a lot for letting me know, mygrove. Marking this resolved.

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

The topic ‘Nesting problem’ is closed to new replies.

 * ![](https://ps.w.org/show-hidecollapse-expand/assets/icon-256x256.jpg?rev=1608202)
 * [Show-Hide / Collapse-Expand](https://wordpress.org/plugins/show-hidecollapse-expand/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/show-hidecollapse-expand/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/show-hidecollapse-expand/)
 * [Active Topics](https://wordpress.org/support/plugin/show-hidecollapse-expand/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/show-hidecollapse-expand/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/show-hidecollapse-expand/reviews/)

## Tags

 * [nesting](https://wordpress.org/support/topic-tag/nesting/)

 * 3 replies
 * 2 participants
 * Last reply from: [buntegiraffe](https://wordpress.org/support/users/buntegiraffe/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/nesting-problem/#post-9949977)
 * Status: resolved