Extend Widget API to allow sidebar/widget manipulation
|Reported by:||Viper007Bond||Owned by:|
|Severity:||normal||Keywords:||needs-patch dev-feedback 2nd-opinion needs-codex|
|Cc:||scribu, sirzooro, dcowgill@…, chacha102|
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).
Change History (6)
- Cc sirzooro added
- Keywords dev-feedback 2nd-opinion needs-codex added