web_table_of_contents Shortcode
The web_table_of_contents shortcode renders the table of contents component.
The attributes below match the current Page Builder controls and public output. Use raw syntax only for reviewed content that cannot be maintained through the visual controls.
Usage
[web_table_of_contents]
Attributes
| Attribute | Default | Accepted values | Purpose |
|---|---|---|---|
table_of_contents_title |
— | String unless stated otherwise | Enter table of contents title. |
table_of_contents_style |
numerated |
numerated, dotted, none |
Choose list style. |
table_of_contents_included_headers |
1,2,3,4,5,6 |
1, 2, 3, 4, 5, 6 |
Choose the types of headers you want to include from the table of contents. |
device_visibility |
— | String unless stated otherwise | Applies the selected responsive visibility rule. |
el_id |
— | Valid unique HTML ID | Enter section ID (Note: make sure it is unique and valid according to w3c specification). |
el_class |
— | String unless stated otherwise | If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file. |
Verification
Verify web_table_of_contents with representative content, its empty state and every enabled responsive range. Pay particular attention to table_of_contents_title and table_of_contents_style.