Want to keep the widget title to identify it from other instances of the same widget, but want to hide the title when the widget is used in a shortcode (ie in a page)?
[do_widget widgetname title=false]
Want to reference a pre-existing widget configuration in a sidebar?
[do_widget id=widget_id sidebar=sidebar_name]
Categories : Shortcode any widget


3 Comments
March 25th, 2010 at 6:12 am
Hi Anmari, you have a very nice plugin! I tested with:
[do_widget "Search"]
that work ok!
[do_widget id="widgets-reloaded-calendar-5" ]
that work ok
[do_widget id="widgets-reloaded-calendar-6" ]
that work but not respect the seted options and take it from first.
have you any idea of why?
[do_widget id="useronline-3" sidebar=1]
that not work
in this case, what would the the sidebar name to use?
“Default sidebar”, 1, “1″, “sidebar-1″
Best Regard
Sergio
March 25th, 2010 at 10:39 am
Hi Sergio,
Don’t know why calendar-6 does not work – if it is the shortcode sidebar and that widget displays fine in a normal sidebar, it should work (multi widgets work for me, even at same time)
Sidebar name must be exactly as in the sidebar box on the widgets page. If you are using the default theme, it will be “Sidebar 1″ (ie with a space).
New version going up soon.
March 25th, 2010 at 2:03 pm
Great Anmarie, and you have right:
the calendar widget work in the same way in any sidebar (so seem to be a little bug of the calendar widget-reload).
and for the sidebar name, it’s ok to! it’s need to use the text title name of the sidebar: i use sidebar=”Barra lateral 2″ when i inspec:
Barra lateral 2 …..
Thank again,
Pescadito!