[wp-hackers] Programmatic Widget Handling

Jeremy Clarke jer at simianuprising.com
Wed Oct 20 15:48:04 UTC 2010

On Tue, Oct 19, 2010 at 5:04 AM, Peter Westwood
<peter.westwood at ftwr.co.uk>wrote:

> It sounds like what you need is a comprehensive widget management api!
> The best way to get this is to work through the current widget code in
> wp-admin/widgets.php and try and abstract it out into an api which that code
> can use and your plugin can use.
> Submit this as a core patch and once it is included you will have an api to
> base your plugin on.

WP needs this badly. Among other automation-related uses it would be great
if themes could define initial widgets for their widget zones in
functions.php rather than having hard-coded alternate content (which
confuses users who go to Appearance > Widgets and see nothing there to
explain what's already visible on the site).

Jeremy Clarke
Code and Design | globalvoicesonline.org

More information about the wp-hackers mailing list