Updated by Andreas Herz

The Expand shortcode displays an expandable/collapsible section of text on your page. Here is an example

Expand me...

Usage

this shortcode takes exactly one optional parameter to define the text that appears next to the expand/collapse icon. (default is “Expand me…”)

{{%expand "Is this learn theme rocks ?" %}}Yes !.{{% /expand%}}

Is this learn theme rocks ?

Demo

{{%expand%}}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{{% /expand%}}
Expand me...

Report an issue

See a typo? Have a picture to recommend? Want to edit some words/phrases/sentences? You can simply submit a ticket to request we make the change. If you are github savvy, submit a pull request. Open Github Issue