Want to add expandable content areas to your membership site? With Memberlite accordion shortcodes, you can create clean, toggle-style sections that reveal content when clicked—perfect for FAQs, feature lists, or compact content displays. This guide shows you how to use the accordion shortcode, explains each attribute, and provides working examples to get started.
Table of contents
Accordion Example
Accordion Item Title 1
Accordion Item Title 2
Accordion Item Title 3
How It Works
This shortcode consists of a wrapping shortcode [memberlite_accordion] ... [/memberlite_accordion]
, as well as an unlimited number of internal shortcodes to add items to the accordion display in the format [memberlite_accordion_item] ... [/memberlite_accordion_item]
.
Shortcode Attributes
[memberlite_accordion]
Attributes
class
: An additional CSS class name to add to the button (optional).
[memberlite_accordion_item]
Attributes
class
: An additional CSS class name to add to the button (optional).title
: The text to show in the collapsed view of the item in the accordion display (required; accepts: any text string).
Shortcode Example
Last updated on April 15, 2025