Shortcode: [widget_area] – X-Plus
Widget Areas
Widget Area – [ widget_area]
[ widget_area area='area-name' area_style='area-style-name' class='alt-class-name' style='inline-style-rules']
The
shortcode allows you display a new widget area anywhere on a post or page. This shortcode will use one of the Per Page Widget Areas defined on the Main Options:Sidebars & Layout tab of the Weaver Xtreme Admin Page (at the bottom). Simply add a new widget area name, just as you would for a per page widget area. Fill the widget area with widgets. Then use the name of the widget area in this shortcode.[widget_area] - Area per-page-# not defined.
Shortcode usage: [ widget_area area='area-name' area_style='area-style-name' class='alt-class-name' style='inline-style-rules']
- area=’area-name’ – The name of the new widget area as defined in the Per Page Widget Areas – e.g., ‘widget_area’.
- area_style=’area-style-name’ – If specified, the widget area will use the styling from one of the standard Weaver Xtreme widget areas. These include: top, bottom, header, footer, primary, or secondary. If not specified, the widget in the extra widget area will use the styling from the single widget styling options.
- class=’alt-class-name’ – You can add additional styling by providing an alternative class name style class name as a parameter to the shortcode. The class will be added to the widget area’s wrapping div.
- style=’inline-style-rules’ – Allows you to add some inline style to wrap the widget area. Don’t include the ‘style=’ or wrapping quotation marks. Do include a ‘;’ at the end of each rule. The output will look like
style="your-rules;"
– using double quotation marks.