Toggles: Shortcode

Knowledgebase Docs » ShiftNav » Shortcodes
Knowledgebase Docs » ShiftNav » Toggles
USEFUL? 0

ShiftNav provides a shiftnav_toggle shortcode which can be used to print a toggle anywhere in your content. The target attribute is the ID of the instance which should be opened.

[shiftnav_toggle target="shiftnav-main"]

If you want to set custom content, you can enter that in the shortcode content area

[shiftnav_toggle target="shiftnav-main"] Open Sesame [/shiftnav_toggle]