Tabs
Documentation
Usage: Tabs can be a handy way of organizing bits of content on a page.
Do
- Pay particular attention to the role attributes and aria-controls in these examples. They make your content more accessible.
Don't
- Don’t use tabs to tuck away content you’d rather not look at. Clearer, concise writing or making hard editing choices will be a better choice.
- There is no way to direct link to a tab that is not open, so do not hide content behind a tab that you expect to be easy to find.
EXAMPLE
Home Content
Profile Content
Messages Content
Settings Content
Code
HTML
Available as a shortcode in the WordPress theme
[tabs][tab title="Home"]Content[/tab][/tabs]