[wp-trac] [WordPress Trac] #16613: Extend Widget API to allow sidebar/widget manipulation

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 21 22:55:17 UTC 2011


#16613: Extend Widget API to allow sidebar/widget manipulation
--------------------------+-----------------------------
 Reporter:  Viper007Bond  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  low           |  Milestone:  Awaiting Review
Component:  Widgets       |    Version:  3.1
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 There is currently no easy way to add a widget to a sidebar using code. We
 should add methods of doing this.

 A good example usage of such an API could be when a new theme is
 activated, it could add it's custom widgets to it's sidebar.

 API should provide support for adding widget X to sidebar Y (or even just
 the first sidebar) along with setting some options for the widget and
 where in the sidebar to add it (top vs. bottom).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16613>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list