Blog Accordion

Accordion

[lore_accordion type=”default”]nn[lore_accordion_item title=”First Accordion Tab” state=”closed”]nnFar far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind textsnn[/lore_accordion_item]nn[lore_accordion_item title=”Second Accordion Tab” state=”closed”]nnSeparated they live in Bookmarksgrove right at the coast of the Semantics, a large language oceannn[/lore_accordion_item]nn[lore_accordion_item title=”Third Accordion Tab” state=”closed”]nnA small river named Duden flows by their place and supplies it with the necessary regelialiann[/lore_accordion_item]nn[/lore_accordion]n

Code

n

[[lore_accordion type="default"]n[lore_accordion_item title="First Accordion Tab" state="closed"]nLorem ipsumn[/lore_accordion_item]n[lore_accordion_item title="Second Accordion Tab" state="closed"]nLorem ipsumn[/lore_accordion_item]n[/lore_accordion]]

nAccordion shortcode consists of two separate shortcodes. [[lore_accordion]] is used as a container for one or more [[lore_accordion_item]] shortcodes.n

Parameters

n[[lore_accordion]]nntypedefault or toggle. When set to toggle, other accordion items won’t be automatically collapsed after opening new onesnncustom_class – add a custom CSS class for this element which you can use for custom stylingnn[[lore_accordion_item]]nntitle – text title of accordion itemnnstate – closed or open. Set the default state of this particular accordion itemnncustom_class – add a custom CSS class for this element which you can use for custom styling

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post