Summary
tabs allows you to display content in dynamic tab. Like the Accordion Menu Shortcode, it combines a wrapper shortcode, [tabls], and a shortcode for every tab, [tab_section].
Required Attributes
tabs
none
tab_section
title
Title for the tab. This text appears on the tab.
Optional Attributes
tabs
none
tab_section
anchor
Assign an anchor for this tab. This allows you to link directly to a certain tab.
classes
Assign additional HTML classes to this tab. To list more than one, use a space. For example, classes='class1 class2'.
Usage / Examples
[tabs ] [tab_section title="Rachel's first item" anchor="" classes='']
Content Here
[/tab_section] [tab_section title="the second item" anchor="" classes='']
Content Here for the 2nd item.
[/tab_section] [/tabs]
This is a simple tab menu with two tabs one line of content in each.
Related articles