Widget as shortcode – tips

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]

Published by


the developer at anmari