Title: Nested spoilers
Last modified: August 21, 2016

---

# Nested spoilers

 *  Resolved [itaushanov](https://wordpress.org/support/users/itaushanov/)
 * (@itaushanov)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/nested-spoilers/)
 * Is there a way to create nested spoilers, one within another?
 * I’ve tried to use:
 *     ```
       [spoiler title="Spoiler1" style="default"]Hidden content
       [spoiler title="Spoiler2" style="default"]Hidden content 2[/spoiler][/spoiler]
       ```
   
 * and
 *     ```
       [spoiler title="Spoiler1" style="default"]Hidden content
       [spoiler title="Spoiler2" style="default"]Hidden content 2[/spoiler]
       ```
   
 * but both does not seem to do the trick.
    Any clues?
 * [http://wordpress.org/plugins/shortcodes-ultimate/](http://wordpress.org/plugins/shortcodes-ultimate/)

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

 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/nested-spoilers/#post-4173793)
 * Use underscores for nested spoilers
 *     ```
       [spoiler]
          Parent spoiler
          [_spoiler] Nested spoiler [_/spoiler]
          [_spoiler] Nested spoiler [_/spoiler]
       [/spoiler]
       ```
   
 *  Thread Starter [itaushanov](https://wordpress.org/support/users/itaushanov/)
 * (@itaushanov)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/nested-spoilers/#post-4173796)
 * That did it, thanks for the speedy answer and the really useful plugin.
 *  [Niklas Johansson](https://wordpress.org/support/users/niklasjohansson/)
 * (@niklasjohansson)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/nested-spoilers/#post-4174052)
 * Does this work in compatibility mode?
 * I didn’t manage to get it right, but I might miss something. What I use is:
 *     ```
       [su_spoiler title="Parent"]
             Parent Content
             [_su_spoiler title="Nested spoiler"] Nested spoiler [_/su_spoiler]
             [_su_spoiler title="Nested spoiler"] Nested spoiler [_/su_spoiler]
       [/su_spoiler]
       ```
   
 * This is the live version:
    [http://juridikibutik.se/niklas-work-page/](http://juridikibutik.se/niklas-work-page/).
 *  [Niklas Johansson](https://wordpress.org/support/users/niklasjohansson/)
 * (@niklasjohansson)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/nested-spoilers/#post-4174065)
 * An update to my previous post.
 * It does work in compatibility mode. I found a conflicting shortcode in my theme
   that caused it to fail.
 * Great plugin, great work!

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

The topic ‘Nested spoilers’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [WP Shortcodes Plugin — Shortcodes Ultimate](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Niklas Johansson](https://wordpress.org/support/users/niklasjohansson/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/nested-spoilers/#post-4174065)
 * Status: resolved