Timeline for Can / should a widget plugin define its own Widget Area?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 23, 2012 at 16:33 | vote | accept | Jon | ||
Dec 22, 2012 at 15:04 | comment | added | s_ha_dum | Trying to alter a theme, which is basically what this is, would be over stepping the bounds of a plugin, in my opinion. Let the theme control layout/design. | |
Dec 22, 2012 at 11:06 | comment | added | Jon |
The plugin can register the sidebar widget - register_sidebar - and create the widget; the user can add the widget to the sidebar. BUT the widget won't display until the widget area has been included in the theme: the plugin can't / shouldn't (?) do this.
|
|
Dec 22, 2012 at 10:59 | comment | added | Jon | Thanks @s_ha_dum. It felt wrong and it was wrong! But the whole point of plugins is to avoid webmasters having to make changes to their themes template files so the should part of the question still feels valid? | |
Dec 21, 2012 at 22:36 | history | answered | s_ha_dum | CC BY-SA 3.0 |