The accordion shortcode allows you to display collapsing content groups where only one panel is shown at a time. The options for this shortcode are shown below. See examples here.
||Set the CSS width of the accordion.|
||The style of the accordion:
||Hide the trigger when clicked.|
||There are 3 overall sizes for the accordion:
[accordion width="400px"] [accordion_toggle title="Toggle 1 title"]Toggle 1 content[/accordion_toggle] [accordion_toggle title="Toggle 2 title"]Toggle 2 content[/accordion_toggle] [/accordion]
Nested Accordion shortcodes
Nested Accordion shortcodes will not work using the same
accordion shortcode as the outer accordion, due to limitations of the WordPress shortcode parsing system. However, we have added the duplicate shortcodes
accordion_toggle4 that you can use for the inner accordions. Only use one shortcode of each type within a nested group.