Create a block with expandable sections in an “accordion” style.

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 March 27, 2025


Was this article helpful?
YesNo