[theme-reviewers] Unregistering default widgets
chip at chipbennett.net
Fri Jun 1 11:43:53 UTC 2012
Actually, I use this. Mainly due to a lack of a better work-around (though
I'm open to ideas). I needed to modify the container markup slightly, to
implement the "show/hide" links for the Widgets. Rather than simply forking
the core Widgets as *new* Widgets, I deregister the core Widgets, and then
re-register my modified versions.
I don't mind using a different approach, if anyone has a good suggestion. I
mainly just don't want to load jQuery just for such a simple effect.
On Fri, Jun 1, 2012 at 3:19 AM, Emil Uzelac <emil at themeid.com> wrote:
> I am pretty sure that this would be considered as "locking" the core
> functionalities and not really sure what would be the reason and scenario
> when author would unregister default widget and replace them with
> Theme-specific. If this is not in review and I can't find it either, well
> it should be for sure. Good eye Konstantin!
> My 2c!
> On Fri, Jun 1, 2012 at 3:08 AM, Konstantin Obenland <
> konstantin at obenland.it> wrote:
>> Hi all,
>> I didn't find documentation on whether it is allowed for Theme authors to
>> unregister default widgets.
>> Is it?
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theme-reviewers