[wp-hackers] Multiwidget Support
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>
>> +1 for a clean, simple class that implements this in core. And true
>> that the exception should be a single instance one, not the other way
> 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?
> 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. ;)
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers