web_menu Shortcode
The web_menu shortcode renders the menu 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_menu]
Attributes
| Attribute | Default | Accepted values | Purpose |
|---|---|---|---|
menu |
— | A configured WordPress menu slug | Selects the navigation menu to render. |
device_visibility |
— | Space-separated web-hide-on-lg, web-hide-on-md, web-hide-on-sm, and/or web-hide-on-xs classes |
Hides the rendered navigation container at the selected responsive sizes. |
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_menu with representative content, its empty state and every enabled responsive range. Pay particular attention to menu.