Plugin Directory

Widget Shortcode

Adds a [widget] shortcode which enables you to output a widget anywhere you like.

The shortcode requires the widget ID, but no need to guess, the plugin generates the code for you. You can use before_widget, after_widget, before_title and after_title parameters to override the widget arguments. Also you can use set 'title' parameter to false to suppress the widget title. here's an example: [widget id="text-1" before_widget="" after_widget="" title="0"]

Since 0.2 you can use do_widget function which accepts an array of options, so you can do: do_widget( array( 'id' => 'text-3', 'title' => false, 'before_widget' => '<div>' ) )

Requires: 3.0 or higher
Compatible up to: 3.3.2
Last Updated: 2012-2-4
Downloads: 1,512

Average Rating

5 stars
(4 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,2,2
100,1,1
100,1,1