Accordion with spoiler and child-spoiler
-
Hey there,
1st – thanks for the author for this stunning plugin! Commin very handy.
This is just a short report for everyone who tried accrodion/ spoiler. I had to read a bit in the tickets..
The accordion shortcode is not visible on the page. It’s just provides special logic for spoilers which are placed inside.
To insert spoilers NOR child-spoilers use this code
[accordion]
[spoiler style="metro" title="Parent spoiler0"]
[_spoiler title="Child spoiler 01"] ... [_/spoiler]
[_spoiler title="Child spoiler 02"] ... [_/spoiler]
[/spoiler]
[spoiler style="metro" title="Parent spoiler1"]
[_spoiler title="Child spoiler 11"] ... [_/spoiler]
[_spoiler title="Child spoiler 12"] ... [_/spoiler]
[/spoiler]
[/accordion]
Attention to the underscore for opening and ending child-spoiler and for the correct pre-tag. I use the standard
[su_spoiler]
Regards, Roman
- The topic ‘Accordion with spoiler and child-spoiler’ is closed to new replies.