[wp-hackers] Multiwidget Support

Stephanie Leary steph at sillybean.net
Fri Feb 6 17:25:25 GMT 2009


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



More information about the wp-hackers mailing list