• When I enter this on my site (from the examples code):

    <h2>The same nested shortcodes</h2>

    [su_spoiler title=”Click me to see nested spoilers” style=”fancy”]
    [_su_spoiler title=”Spoiler title”] Spoiler content [_/su_spoiler]
    [_su_spoiler title=”Spoiler title”] Spoiler content [_/su_spoiler]
    [_su_spoiler title=”Spoiler title”] Spoiler content [_/su_spoiler]
    [/su_spoiler]

    The titles for the nested spoiler appears as

    “Spoiler

    instead of

    Spoiler tile

    I tried this in TwentySixteen theme too and it is broken in that theme as well. Please help. I need to be able to use nested spoiler with titles that work.

    • This topic was modified 8 years, 2 months ago by Dabalina.
Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m having the same problem! If I put in invisible spaces ( ) in the text editor, the titles work, but they break again when I switch over to the visual editor and the invisible spaces become regular spaces again.

    I am having the same issue as well. I did find a work around that is not great but works.
    First drop the quotes, second use the html code for a non breaking space. It works I do not know why but it does. This will likely break once the bug is fixed so keep an eye out.

    Here is an example.

    [_su_spoiler title= My&nbsp;Title&nbsp;Here]

    ingowagener

    (@ingowagener)

    Unfortunately Jameswortz’ workaround does not work for me. For now I just put an underscore in there. I tried to colour it white so it is not shown but this caused the whole title to disappear.

    Quite an annoying little bug…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Title in nested spoilers not working’ is closed to new replies.