WordPress.org

Ready to get started?Download WordPress

Forums

Shortcodes Ultimate
Multi-level nested spoiler/accordion (1 post)

  1. Zakkibasha
    Member
    Posted 1 year ago #

    Hi there

    First of all I want to thank you very much for a wonderful plugin. It sure works a treat and I love using it!

    My issue is, I just can't seem to get my head round how to make the Accordion/Spoiler shortcodes to work beyond 2 multi-levels when I'm nesting! It just seems to stop at the 3rd level. Does it have limitations on how many levels it can deal with, or am I simply missing something!?

    Here is a section from my page I tried to use which just doesn't seem to work!

    [su_spoiler title="Question 1" style="fancy"]
    [su_accordion]
    [su_spoiler title="Section 1"]
    [su_accordion]
    [su_spoiler title="Option A"]
    [su_accordion]
    [su_spoiler title="1 Spoiler title"] First content [_/su_spoiler]
    [su_spoiler title="2 Spoiler title"] Second content [_/su_spoiler]
    [su_spoiler title="3 Spoiler title"] Third content [_/su_spoiler]
    [su_spoiler title="4 Spoiler title"] Fourth content [_/su_spoiler]
    [/su_accordion]
    [/su_spoiler]
    [su_spoiler title="Option B"]
    [su_accordion]
    [su_spoiler title="1 Spoiler title"] First content [_/su_spoiler]
    [su_spoiler title="2 Spoiler title"] Second content [_/su_spoiler]
    [su_spoiler title="3 Spoiler title"] Third content [_/su_spoiler]
    [su_spoiler title="4 Spoiler title"] Fourth content [_/su_spoiler]
    [/su_accordion]
    [/su_spoiler]
    [/su_accordion]
    [/su_spoiler]
    [su_spoiler title="Section 2"]
    [su_accordion]
    [su_spoiler title="Option A"]
    [su_accordion]
    [su_spoiler title="1 Spoiler title"] First content [_/su_spoiler]
    [su_spoiler title="2 Spoiler title"] Second content [_/su_spoiler]
    [su_spoiler title="3 Spoiler title"] Third content [_/su_spoiler]
    [su_spoiler title="4 Spoiler title"] Fourth content [_/su_spoiler]
    [/su_accordion]
    [/su_spoiler]
    [su_spoiler title="Option B"]
    [su_accordion]
    [su_spoiler title="1 Spoiler title"] First content [_/su_spoiler]
    [su_spoiler title="2 Spoiler title"] Second content [_/su_spoiler]
    [su_spoiler title="3 Spoiler title"] Third content [_/su_spoiler]
    [su_spoiler title="4 Spoiler title"] Fourth content [_/su_spoiler]
    [/su_accordion]
    [/su_spoiler]
    [/su_accordion]
    [/su_spoiler]
    [/su_accordion]
    [/su_spoiler]

    Sorry it's a bit long winded, but I just wanted to let you see what I'm trying to do.. The 2nd level (Section 1) opens up to Option 1 and "1 Spoiler Title" only and then under that is the remaining "Spoiler Titles". I feel like maybe I'm missing something, or I put something there where I don't need to!

    Any help I would be much grateful for.

    Many thanks and apologies once again for the long mail.
    Best regards

    Amr

    http://wordpress.org/plugins/shortcodes-ultimate/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic