Skip to content Go to footer

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
Przegląd prywatności
Event on Click

Ta strona korzysta z ciasteczek, aby zapewnić Ci najlepszą możliwą obsługę. Informacje o ciasteczkach są przechowywane w przeglądarce i wykonują funkcje takie jak rozpoznawanie Cię po powrocie na naszą stronę internetową i pomaganie naszemu zespołowi w zrozumieniu, które sekcje witryny są dla Ciebie najbardziej interesujące i przydatne. Niektóre ciasteczka są zawsze włączone, abyśmy mogli zapisać twoje preferencje dotyczące ustawień ciasteczek.

Statystyka

Statystyczne pliki cookie Google Analytics pomagają nam zrozumieć, w jaki sposób różni użytkownicy zachowują się na stronie, np. liczba odwiedzających i najpopularniejsze podstrony witryny. Włączenie tego ciasteczka pomoże nam ulepszyć naszą stronę internetową.