WordPress.org

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Widget Instance

Display/output a specific widget instance using either a shortcode, function, action or wysiwyg button.

Widgets are normally displayed as part of a sidebar using the dynamic_sidebar() function. There is the_widget function for static widgets, but there is no equivalent for specific widgets configured in the Appearance > Widgets area.

The Widget Instance plugin empowers WordPress users of all abilities to display these widgets outside of the sidebars they have been assigned to.

Features
  1. A wysiwyg editor button for selecting available widgets,
  2. A shortcode [widget_instance id="[widget_id]"],
  3. A theme action do_action('widget_instance', [widget_id]) and finally
  4. Utility functions for developers get_widget_instance and widget_instance
Usage
  • [widget_instance id="[widget_id]"]
  • do_action('widget_instance', '[widget_id]');
  • the_widget_instance('[widget_id]');
  • get_the_widget_instance('[widget_id]');

Requires: 2.9.1 or higher
Compatible up to: 3.5.2
Last Updated: 2013-4-10
Active Installs: 1,000+

Ratings

2 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1