Skip to main content

With the Accordion-shortcode you can create lists that open/close. The structure of the shortcodes follows the logic of the tab-shortcodes.

Code

[accordiongroup id="1"]
[accordion title="your title here" group="1" active="true"]your content here[/accordion]
[accordion title="your second title here" group="1" active=""]your content here[/accordion]
[/accordiongroup]

Attribute accordiongroup

NameContentDefault valueMeaning
idNumberHere the ID of the toggle-group is defined. If there is more than one toggle-group, the next one must have the ID 2.
markupTextdefaultUse this parameter to control the schema output. You can use the value “faq” to output a FAQ rich snippet markup (https://developers.google.com/search/docs/data-types/faqpage?hl=en).

Attribute accordion

NameContentDefault valueMeaning
titleTextHere the name of the accordion is defined.
groupZahlHere you have to specify the ID from the accordiongroup-shortcode.
activetrue / falsefalseIf the toggle is set to active=“true“, it will be displayed as open. Others are closed.

Was this article helpful?

1 Star2 Stars3 Stars4 Stars5 Stars
(No Ratings Yet)

Keine Kommentare vorhanden


You have a question or an opinion about this post? Share it with us!

Your email address will not be published. Required fields are marked *

*
*

Choose your currency:

Close
Converted prices are for reference only - all orders are charged in € Euro (€) EUR.
  • USDUS Dollar ($)
  • EUREuro (€)
  • GBPPfund Sterling (£)
  • AUDAustralische Dollar ($)
  • BRLBrasilianischer Real (R$)
  • CADKanadischer Dollar ($)
  • CZKTschechische Krone
  • DKKDänische Krone
  • HKDHongkong Dollar ($)
  • HUFUngarischer Forint
  • ILSIsraelischer Schekel (₪)
  • JPYJapanischer Yen (¥)
  • MYRMalaysischer Ringgits
  • MXNMexikanischer Peso ($)
  • NZDNeuseeland Dollar ($)
  • NOKNorwegische Krone
  • PHPPhilipinischer Pesos
  • PLNPolnischer Zloty
  • SGDSingapur Dollar ($)
  • SEKSchwedische Krone
  • CHFSchweizer Franken
  • TWDTaiwan New Dollar
  • THBThai Baht (฿)
  • INRIndische Rupie (₹)
  • TRYTürkische Lira (₺)
  • RUBRussischer Rubel