Event description: shortcode „accordion”

If you have a long event description or want to structure your content more, you can use a special shortcode to create an accordion (or „harmonica”). An accordion is an interactive element that, when clicked, expands previously invisible content.
You can add any number of accordions (or „harmonicas”) to your event description.
See how the accordion works. Page opens in a new window
How to add an accordion?
In the event description, enter the shortcode:
[accordion name="Test accordion 1" number="1"]
On a new line, enter the following content…
[/accordion]
Efekt
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Felis eget nunc lobortis mattis aliquam. Leo vel orci porta non pulvinar neque laoreet.
The accordion has 2 mandatory attributes:
- The „name” attribute has a value displayed on the accordion button.
- „Number” is another unique integer, as you can add any number of accordions to the event description. Each accordion should have a unique value for the „number” attribute.
The content of an accordion can be both paragraphs, texts and lists.
Example use
For example, you can use accordions to include in your event description:
- Event regulations
- Training or workshop program
- Biographies of event leaders
- Technical and organizational details regarding participation