[toggle parameters]My toggle content[/toggle]
Parameters
Parameter | Description | Required | Values | Default |
---|---|---|---|---|
id | ID of toggle | yes | letters and numbers only (no spaces) | none |
accordion | Enable accordion mode – all other toggles will close when one is activated. | no | yes | none |
How to trigger toggle content
The toggle content will remain hidden until it’s triggered. You can trigger the toggle content by creating a link with the proper id (the id you used in your toggle shortcode) and adding the target=”toggle” attribute, for example:
[toggle id='mytoggleid']My toggle content[/toggle]
<a href="#mytoggleid" target="toggle">Open toggle content</a>