Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Display content in an accordion menu. This is actually done with two shortcodes - an outer wrapper tag and an inner tag for each section:

[uwsa_accordions]

[uwsaaccordion_accordion section title=One]
some content
[/uwsaaccordion_accordionsection]
[uwsaaccordion_accordion section title=Two]
some more content
[/uwsaaccordion_accordionsection]
[uwsaaccordion_accordion section title=Three]
some different content
[/uwsaaccordion_accordionsection]

[/uwsa_accordions]

 

Required Attributes

...

accordions (outer tag)

none

...

accordion_

...

section (inner tag)

title

The heading text for the accordion panel.

Optional Attributes

...

accordions (outer tag)

compact

Setting compact=1 changes the style of the accordion menu to the "simple toggle" style

...

Set a specific ID value for the Accordion Menu. (Unless you already have a reason why you need to do this, you don't need to do this). 

...

accordion_

...

section (inner tag)

anchor

Use a specific anchor value for the accordion panel.

...