[wp-hackers] Multiple Instances of a Widget
Otto
otto at ottodestruct.com
Thu Nov 20 15:09:50 GMT 2008
Take a hard look at the PHP Code widget:
http://wordpress.org/extend/plugins/php-code-widget/
It's a very, very simple widget that supports multiple instances
correctly. You can use that as a base to expand onto.
On Thu, Nov 20, 2008 at 9:06 AM, Damon Timm <damontimm at gmail.com> wrote:
> Hello -
>
> I contribute (in what little ways I can) to the Event Calender plugin
> (http://wordpress.org/extend/plugins/event-calendar/) --> am trying to
> upgrade the widget from a single instance widget to a multiple
> instance widget.
>
> I have done the google bit, and I have read over the commented
> sections (pertaining to widgets) in the WP source -- however, I
> haven't made it all that far on my own. I didn't know if anyone had
> some write-ups or better documentation on how to accomplish a multiple
> instance widget that may help me out a little more.
>
> The widget in question can be viewed at:
>
> http://plugins.trac.wordpress.org/browser/event-calendar/trunk/widget-list.php
>
> Again, any guidance or sites I could read over would be appreciated.
>
> Thanks,
> Damon
> _______________________________________________
> 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