1 minute read

Toggle

Parameters:

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

Exemplary usage:

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

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.