This widget is definatally the simplest widget I have made sofar. Mainly because the get_calendar function only has 1 parameter to set
As most people know, you can only set more widget instances for a couple of default widgets that ship with the widget functions by Automatic. I mostly use more than one sidebar in the themes I make and there must be a lot off other people that use themes with more sidebars. For them and people that just want more instances and options, I also released Breukie’s Calendar Widget for Wordpress. It adds the capability to set the “initial” parameter. If set to true, the day will be displayed using a one-letter initial. If set to false, an abbreviation based on your localization will be used. Other than that I added the ability to set up to 9 instances off this widget and a title parameter where you can use HTML to style your title if needed.
Like my other free widgets, it is a pretty easy widget, but it will definatally do the trick for you too!
Breukie’s Calendar Widget is a Wordpress pages widget, to replace the standard calendar widget by Automattic. You can set up to 9 intances of this widget in your sidebar(s). This widget displays your calendar using the get_calendar function, utilizing the only available parameter “initial”, but I added a title parameter where you can use HTML to style your title.
Only tested on Wordpress 2.1+, but it should work on previous versions of Wordpress that use the get_calendar function.
I use more than one instance of this widget in the same sidebar and/or on the same page?
- If this is the case every instance off this widget will use the same setting for the “initial” parameter. The get_calendar function does not seem to be able to handle different settings for different calls to this functions parameter on the same page. It will take the settings for this parameter from the first instance on that page.
Any questions like support, bug reports, feature requests or any of this kind for this widget, can be posted in my forum. To post a message there, log in with your account, or register first if you do not have one. Still … I am curious what you think of this widget, so feel free to comment
- Unzip to wp-content/plugins/widgets.
- Go to WP admin -> plugins and activate Breukie’s Calendar Widget.
- Go to WP admin -> presentation -> sidebar widgets, to add the widget to your sidebar(s).
- Select how many Breukie’s Calendar Widgets you want to show and/or setup the parameters of the widget.
- If you are updating from an earlier version, deactivate, delete old version, upload new version and activate it.
- Made wordpress 2.2 compatible.
Breukie’s Calendar Widget v1.1 - downloaded 2512 times.