This is a demo of the accordion shortcode feature for the Trisense theme.
This is a shortcode that gets added in through the Trisense Enhancer plugin.
Accordions are a good way to layout a page when you have a lot of content and it is neater to just display the titles rather than the full content.
When you click the title of the accordion, it will toggle the content to either display or hide.
You can set the accordions body content to be shown on load or hidden. It gets hidden by default.
How to insert an accordion
Accordions can be added In the visual editor “Insert Shortcode” dropdown.
- Click the button and go to Design > Accordion to bring up the accordion shortcode insert window.
- Add a title for the accordion.
- Choose wether to show/hide the content on load.
- Click OK to insert the shortcode on the page.