The design features a shortcode for creating collapsible content divs for FAQs, etc. It is as simple as using the following shortcode and you get styled collapsible divs in no time.
Shortcode: [collapsible-content][/collapsible-content]
This is an enclosing shortcode which outputs collapsible content. Here is a list of attributes for this shortcode:
- id: Specify id attribute for your own custom styling purposes.
- class: Specify class attribute for your own custom styling purposes.
- caption: Specify the caption for the collapsible content using this attribute.
- state: Specify the state as open if you want to keep the collapsible content open by default. Defaults to close.
Usage:
[collapsible-content caption="Opened Collapsible Content" state="open"] Collapsible content goes here... [/collapsible-content]