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.

Widgets Admin Fix

This plugin adds the ability to link to specific sidebars in the widgets admin page and have them open up automatically.

This plugin adds the ability to link to specific sidebars in the widgets admin page and have them open up automatically. In addition, by default when visiting the widgets admin page, none of the sidebars are open.

<a href="<?php echo admin_url( 'widgets.php' ) .'?sidebar=aside'; ?>">Add Widgets</a>

You'll need to know the IDs of the sidebars you'd like to have opened. For multiple sidebars, simply separate them with commas.

<a href="<?php echo admin_url( 'widgets.php' ) .'?sidebar=aside,body_open,before_the_loop'; ?>">Add Widgets</a>

Alternatively, you can use the add_widgets_link() function:

<?php echo waf_widgets_link( 'aside', 'Add Widgets to Aside' ); ?>
<?php echo waf_widgets_link( 'aside,body_open,before_the_loop' ); ?>
Tags: ,

Requires: 2.8 or higher
Compatible up to: 2.9.2
Last Updated: 2010-1-24
Active Installs: 10+

Ratings

0 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