Accordion Item

One section inside an [bsv-accordion]. The item must be nested inside the accordion wrapper.

Accordion item example
Accordion item example

Example

[bsv-accordion]
[bsv-accordion-item title="Details" heading_level="h3" show="yes"]The content.[/bsv-accordion-item]
[/bsv-accordion]

Format

[bsv-accordion-item parameter="value" ...]your content here[/bsv-accordion-item]

Parameters

Parameter Description Default
id Optional panel ID. When empty, a unique bsv-accordion-item-N ID is generated. generated
title The button text. empty
show Open this item initially: yes or no. Opening one item closes its siblings. no
heading_level Heading wrapper for the button: h1–h6. h2

The content is passed through wp_kses_post.

Last updated: