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.

Accordion Example


Accordion Item Title 1

This is the first item in the list.

Accordion Item Title 2

This is the second item in the list.

Accordion Item Title 3

This is the third item in the list.

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


Was this article helpful?
YesNo