1 minute read



  • title – add title of toggle , exemplary value: “Toggle one”.

Exemplary usage:

[toggle title="Toggle one"]
<p>Toggle one content</p>
[toggle title="Toggle two"]
<p>Toggle two content</p>
[toggle title="Toggle three"]
<p>Toggle three content</p>

See also demo of toggle shortcode. In full download package (Dummy data/shortcodes-pages/accordion-toggle.html) you can find the file with shortcodes we used to create demo page.

Did you know...

You can use toggle element in drag and drop website builder (Visual Composer) and customize this element easily without coding skills. Parameters and design options are the same as in shortcode.