Writing a WordPressMU Widget

While working on a new website today, I found myself needing a widget that would show the archive list from one blog on another blog within my WordPressMU installation. Unfortunately, after a bit of Googling, I couldn’t find any that already existed. It was then that I decided to take matters into my own hands.

I started searching for tutorials on building WordPress widgets. I found some decent tutorials, and was able to put the widget together pretty quickly. However, I then realized that I needed to be able to use multiple instances of the widget, as I have more than one sidebar set up (one or the other is shown, depending on which page the visitor is viewing). Then, it was basically back to the drawing board.