I have written a small plugin for a friend who wanted an easy way to display his favourite football (soccer) team’s next fixture on his blog.
He had previously needed to edit his theme sidebar.php every time, often twice a week.
So I came up with the idea of this theme widget, which allows him to select the two teams from drop down lists, type in the date, time, and competition and then save the changes. He can also specify which TV or Satellite channel the match will be shown on.
I have set up a demo of the widget on this page
In the spirit of open source, I thought I would release it to the world.
You can download version 1.0.7 of the plugin. Update: Version 1.0.7 has a minor CSS tweak.
Note the zip file includes UK soccer team badges (sourced from Wikipedia), but you can just drop in any team badges you like. Name them like Team_Name.jpg (or .gif, or .png) and the plugin will simply add them to the drop down list. Add them in a subdirectory (perhaps by league) for example Sport_League_1 and it will subcategorise them in the drop down list.
The settings dialog allows you to configure all aspects of the widget.
The drop down list will categorise the badges it finds in subdirectories.