vc_widget_sidebar Shortcode
The vc_widget_sidebar shortcode renders the widgetised Sidebar 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
[vc_widget_sidebar]
Attributes
| Attribute | Default | Accepted values | Purpose |
|---|---|---|---|
title |
— | String unless stated otherwise | Enter text used as widget title (Note: located above content element). |
sidebar_id |
— | A value selected from WordPress | Select widget area to display. |
device_visibility |
— | String unless stated otherwise | Applies the selected responsive visibility rule. |
el_id |
— | Valid unique HTML ID | Enter element ID (Note: make sure it is unique and valid according to w3c specification). |
el_class |
— | String unless stated otherwise | Style particular content element differently - add a class name and refer to it in custom CSS. |
Verification
Inspect vc_widget_sidebar at every layout breakpoint and confirm its child content keeps a logical source and visual order. Pay particular attention to title and sidebar_id.