I made my first WordPress widget plugin today, and it was good (I think). At least it’s useful.
It encapsulates Twitter’s official user profile widget and provides a widget configuration panel, so it can be used as one or more instances in the WordPress sidebar without having to copy-paste any markup.
The publishing process was hairier than I had expected, but understandable considering how much information is (or rather can be) shown about each plugin at wordpress.org. I filled in everything, just to see how it was presented at the site.
The widget is implemented by extending the WP_Widget base class and it’s prepared for translation by using the __() call. The default settings provide a basic black/gray-on-white look as a base for customization. Feel free to check out the code. It should be pretty self-explanatory.
