I created a custom widget for wordpress. But I can only use it once. I can开发者_如何学Go'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.
精彩评论