Accordion Shortcode
[sp-accordion style=1][sp-accordion-content title=”Panel 1″]There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words[/sp-accordion-content][sp-accordion-content title=”Panel 2″]There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words[/sp-accordion-content][/sp-accordion]
[sp-accordion style=2][sp-accordion-content title=”Panel 1″]There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words[/sp-accordion-content][sp-accordion-content title=”Panel 2″]There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words[/sp-accordion-content][/sp-accordion]
Shortcode:
[sp-code][sp-accordion][sp-accordion-content title=”Panel 1″]Your panel content here…[/sp-accordion-content][/sp-accordion][/sp-code]
Accordion Options:
- collapsible Sets whether the panel can be collapsed.
- active_panel Sets which panel you want active on page load.
- style Two different styles to choose from.
- custom_class Adds additional class so you can manipulate the styles for just this slider.
Accordion Content Options:
- title Title of the accorion.
- icon Sets an icon next to the title. Refer to the theme documentation for a listing icon fonts.
Comments are closed.