Widgets Admin Fix

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' ); ?>

Download

Requires at-least: 2.8
Latest version: Widgets Admin Fix v0.2 [zip] (198)

Links

Installation

  1. Upload the ‘widgets-admin-fix’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Additional comments powered by BackType

About Ptah

I’m a 21 year old web developer, entrepreneur, and founder of Design by Craftsmen, web creative studio specializing in custom WordPress solutions. Get to know me.

Twitter