[wp-hackers] Multiwidget Support

Andrew Rickmann mail at arickmann.co.uk
Fri Feb 6 18:46:24 GMT 2009

The current widget code seems massively over-complicated to me. If the
class just abstracts that then is it really that much of an

For a concept as simple as widgets it should be easy to produce some
ground up object oriented code to simplify the whole lot.

Aren't widgets due for a revamp in 2.8 anyway?


2009/2/6 Stephanie Leary <steph at sillybean.net>:
> On Thu, 05 Feb 2009 14:19:57 -0800, Chris Williams <chris at clwill.com>
> wrote:
>> +1 for a clean, simple class that implements this in core.  And true
> enough
>> that the exception should be a single instance one, not the other way
>> around.
> I absolutely agree.
>> Spent the last 36 hours trying like heck to get a multi-widget to work
>> right.  It's almost like magic spell incantation, try something, hope it
>> works, try something else :)
> Have you seen this example?
> http://wp.gdragon.info/2008/07/06/create-multi-instances-widget/
> I based my own widget on that code. I won't say it was the easiest thing
> I've ever written, but I had more problems with my logic than with the
> example. ;)
> Stephanie
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list