I created a custom widget for wordpress. But I can only use it once. I can't assign multiple instances of the widget to my sidebars.
Can anyone show me sample code on how to make my custom widgets re-useable?
I created a custom widget for wordpress. But I can only use it once. I can't assign multiple instances of the widget to my sidebars.
Can anyone show me sample code on how to make my custom widgets re-useable?
Check out this tut on reusable WordPress widgets :)
Using the 2.8 widget API, widgets are natively re-usable.