WordPress Widget: King Calendar
If you feel the original Calendar Widget does not really fit, you might want to try this one out.
I´ve added Support for the Events Calendar Plugin and you can set on which site area to show the Calendar on. Check the features for more details.
Features
Version 0.61 features:
- up to 10 Calendar Widgets
- use the normal WP Calendar or display the Calendar of the EventsCalendar Plugin
- 4 HTML fields to customize HTML before/after widget and title or leave empty and use defaults from functions.php
- Fully localizable with gettext Translation (German Translation included in framework)
- Set on which Website Area to show the Widget. Options are:
- show on Home / Search / Archive or 404 page
- show on all or special single Page. You can set the id or slug of the Page where to show
- show on all or special single Article You can set the id or slug of the Article where to show
- show on all or special Category Listing You can set the id of the Category where to show
- Show if inside a special Category. If in list List or on single Article
You find all Options explained in the WordPress Codex in Conditional Tags make sure to definitly read this if you are using those Options!
– new js admin menu
- based on the king widget framework
Screenshot
English Admin Screen

Comming Features
- maybe implement more display options from Event Calendar
- maybe implement other Calendars like Google or 30 Boxes
- Whatever you might suggest…
Install
Of course you should have wordpress widgets installed and activated. If not, you can find the download and install instructions over at automattic.com
- Copy king-calendar.php into your plugins widget folder -> where your widgets.php is !!!
- Copy the widget Framework in /king-includes into /plugins, if you don´t have it already
- activate in Pluginarea.
- Drag the King Calendar Widget on one of your sidebars and play with the options.
Download
Version 0.61
king-calendar_0.61.zip (14.05.2006 11:26)
don´t forget to download the king-widget framework if you don´t have it already
Please don´t hesitate to give me a feedback if this is usefull or if you think you found a bug!
Have fun!
Georg Leciejewski
WordPress Widget: King Calendar
You can follow all the replies to this entry through the comments feed.
- By on 05.07.2009 at 15:43
- By on 12.04.2008 at 15:44
- By on 01.10.2006 at 14:30


Why should I install the plugins outside the plugin directory?
widgets.php exists twice and is not part of the plugins part but instead of the core part of wordpress.
If I put your plugins into the plugin directory then they fail to load.
Matthias
nevermind, fixed it. thanks
I’m having the same problem as Daniel. Can someone please help? I get the errors:
Warning: widget_king_calendar_register(widgets.php): failed to open stream: No such file or directory in /home/content/j/a/m/jamiepalmer/html/blog/wp-content/plugins/king-calendar.php on line 378
and
Warning: widget_king_calendar_register(): Failed opening ‘widgets.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/content/j/a/m/jamiepalmer/html/blog/wp-content/plugins/king-calendar.php on line 378
Just tell me if I ma right or wrong!
You can have many calendars
You can have only one event calendar
Bottom line, if you would like to have:
one event calendar to show Tele Seminars Date
a second one to show Live Seminars Date…
it is not possible!
Fantastic King lines of product! Keep the good work!
Roger Pilon, Editor
[url=http://ThinkOutOfTheBox.info]Internet Marketing World Wide Resources Directory [/url]
how about a checkbox indicating “show only to authenticated users”. I only show the general category to guests but if i place the category widget (or the calendar widget) then the user can gain access to the rest of the blog without signing in or registering. I think adding this option would make your already excellent widgets more useful.
For now i have solved it by placing the following code at the start of the main funcion of the categories and calendar widgets:
global $user_ID;
if ((!$user_ID))
return;
how about a checkbox indicating “show only to authenticated users”. I only show the general category to guests but if i place the category widget (or the calendar widget) then the user can gain access to the rest of the blog without signing in or registering. I think adding this option would make your already excellent widgets more useful.
For now i have solved it by placing the following code at the start of the main funcion of the categories and calendar widgets:
global $user_ID;
if ((!$user_ID))
return;
The activate King Calendar Widget was way at the bottom and I didn’t see it. Now everything is fine.
Thanks you!
Dave
please check your folders -> must be plugins/king-includes for framework and the king kalendar just in the same place as widgets.php
I have installed the “king-includes_0.68″ into my plug-ins folder and activated it. I then put the “king-calendar_0.61″ into my widgets folder. I uploaded into a folder called “king-calendar_0.61″ and I also put the “king-calendar.php” into the root of the “wodgets folder.
I can not get the calendar widget to sho up in the sidebar widgets menu.
What am I doing wrong?
Great plug-in! I’m using it with Event (used it on previous blogs and really liked being able to keep event posts separate and stop them appearing on the front page).
I’d like to have two King Calendars showing two different categories, TV and Fun. I’ve set Event to show anything categorised as Calendar and so would like the two King Calendars to show:
- KingCalendar1 – show posts categorised as Calendar(parent) and TV(child)
- KingCalendar2 – show Calendar (parent) and Fun(child)
Can the plug-in do this? If not, is it something you’d consider building into any future releases? Please? Pretty please…
Cheers
LP
Feature request: ical support
@David: can you give me the nam so i can take a look at it
@pramudita:
you are missing the events calendar plugin.
This is not an error in king calendar!
Read this article there is a link to it.
I found an error :
Fatal error: Call to undefined function: ec3_get_calendar() in /home/indo.pramudita.com/wp-content/plugins/widgets/king-calendar.php on line 97
where is ec3_get_calendar() function ?
Thanks
You have great stuff here! For a newb blogger with a quick learning curve, your work has really helped!
You mention that you might be adding 30boxes functionality.
I have been looking for a tool that would combine the post listing functionality of the WP calendar with the event listing of 30boxes, and this sounds like it would handle both.
Am I right?
Thanks so much for all of your work!
please check if the king-includes are in the right directory.
also there seems to be missing a slash after the abspath.
george
Okay, what am I missing? I keep getting an error, and I know I’m staring right at the answer, but I’m working on only one cup of coffee.
I’ve installed the framework and the calendar widget, however, I’m receiving the error:
Warning: main(ABSPATHwp-content/plugins/king-includes/library/king_widget_functions.php): failed to open stream: No such file or directory in /home/digitald/public_html/blog/wp-content/plugins/king-calendar.php on line 399
Fatal error: main(): Failed opening required ‘ABSPATHwp-content/plugins/king-includes/library/king_widget_functions.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/digitald/public_html/blog/wp-content/plugins/king-calendar.php on line 399
Any assistance will be most appreciated.
Thanks!!
@mc: ja ja termine sind immer hart in der softwareentwicklung, vor allem wenn man welche nennt die dann nicht eingehalten werden
bin die nächsten 2 wochen im urlaub und danach werde ich die wöchentliche veröffentlichung von widgets fortsetzten. die priorität orientiert sich dabei an meinen projekten. hab mir das problem aber schon angesehen und dank dem framework kann ich das in absehbarer zeit nachrüsten.
Danke für die schnelle Antwort!
Weißt du, wann dus ungefähr hinbekommst? Ist nicht eilig, aber es wär halt schön einen ungefähren Termin zu wissen!
Danke!
Hi MC, das habe ich leider noch nicht implementiert. Ich werde dafür dann ein weiteres untermenü bauen.
Solange kannst du ja ein King-Text Widget dafür einsetzten.
Hallo!
Ich benutze dein KingCalendar Widget und den EventCalendar. Es funktioniert soweit auch alles, bis auf die Darstellung der Events als Liste. Gibts dafür eine Lösung oder ist das noch nicht implementiert?
Ich hoffe auf eine schnelle Antwort!
Danke!