WIDGET

[woof_products]

 

Add the shortcode [do_widget widgetname] to a page.Examples:
[do_widget "tag cloud"] or [do_widget id=widgetid]
Create a page with do_widget shortcode and remove widget_classes
Create a page with do_widget shortcode
Use title=false to hide a widget title. Use title=somehtmltag and wrap=somehtmltag to change the html used. Use class=yourclassname to add a class - maybe to override your themes widget styling?
[do_widget pages title=false] will hide the widget title
[do_widget pages title=h3] give the title a heading 3 html tag.
[do_widget categories] or [do_widget name=categories] will do the same thing: display the categories widget.
[do_widget "tag cloud" wrap=aside] will wrap the widget in an "aside" html tag.
[do_widget "recent posts"]
If the plugin cannot work out what you want, it will show a debug prompt , click on the debug prompt and look for the name or id of your widget in the shortcodes sidebar (you may have to scroll through a lot of debug info). If the name does not work, try with the id. Sometimes the widget name that wordpress calls it internally is not the same as what you see on the screen and you will need the debug to find the id.

Valid title html tags are : h1, h2, h3, h4, h5, header, strong, em

Valid html wrap tags are : div, p, aside , section

To add multiple instances of the same widget:
[do_widget id=widgetid1] [do_widget id=widgetid2]

To add a widget area - all widgets in the widget area:
Create a page with do_widget_area shortcode without the widget_area class Hoping to avoid theme styling.
Create a page with do_widget_area shortcode Hoping to use theme styling.
Examples:
[do_widget_area] or [do_widget_area widget_area=sidebar-1]
NB: Using something like the twenty-fourteen theme? you might end up with white text on a white background. Tweak the widget classes or the html of the wrap or title. If that fails, adjust your css.

Translate »