14. Mai, 2006
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
Verwandte Artikel:

29 Kommentare zu “Wordpress Widget: King Calendar”
Pingback von BloggingPro China » Blog Archive » WordPress Widget: King Calendar am 18. Mai, 2006 um 9:42
[...] King Calendar,输出日历。 calendar [...]
Kommentar von MC am 19. Mai, 2006 um 18:01
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!
Kommentar von MP:Schorsch am 19. Mai, 2006 um 18:53
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.
Kommentar von MC am 19. Mai, 2006 um 19:19
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!
Kommentar von MP:Schorsch am 19. Mai, 2006 um 22:31
@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.
Pingback von xoros » Blog Archive » Wordpress Theme and Widget am 25. Mai, 2006 um 19:52
[...] To celebrate the completion of the first theme I have created from scratch for WordPress I have decided to make it available for download. The theme “XorosDark”, which you can see right now as you are reading, is for Wordpress 2 and is fully Widget compatible. I plan to make a lighter version in the near future, something a little more colourful perhaps! In building a test blog I also needed a widget for Theme Switcher by Ryan Boren and since I was unable to find one I wrote it myself. I am quietly proud of it, even though it is a very modest widget, as this is the first bit of Php coding I have ever successfully achieved. I must admit I owe a lot to the “Mywidget” example file by Kaf Oseo without which I would never have got anywhere at all. I would also very much like to recommend the King Widget series by Georg Leciejewski as a fantastic example of just how far they can be taken. Xoros is proud to be using both the King Links and King text plugins at present. [...]
Kommentar von Danielle am 30. Mai, 2006 um 15:05
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!!
Kommentar von mp:schorsch am 1. Juni, 2006 um 6:59
please check if the king-includes are in the right directory.
also there seems to be missing a slash after the abspath.
george
Kommentar von david am 21. Juni, 2006 um 3:29
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!
Kommentar von Pramudita am 21. Juni, 2006 um 6:43
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
Kommentar von MP:Schorsch am 21. Juni, 2006 um 9:16
@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.
Kommentar von Mads am 24. Juli, 2006 um 20:26
Feature request: ical support
Kommentar von Lolly am 25. Juli, 2006 um 23:24
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
Kommentar von Dave Tunnell am 10. August, 2006 um 19:10
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?
Kommentar von Administrator am 10. August, 2006 um 20:50
please check your folders -> must be plugins/king-includes for framework and the king kalendar just in the same place as widgets.php
Kommentar von Dave Tunnell am 10. August, 2006 um 21:18
The activate King Calendar Widget was way at the bottom and I didn’t see it. Now everything is fine.
Thanks you!
Dave
Pingback von Bloggy Widgets » Blog Archive » Widget for the day conscious: King Calendar am 3. September, 2006 um 10:03
[...] Are you thinking that the calendar you have on your sidebar is not enough? Are you looking for a different kind of widget to make it work to your advantage? Are you tired of seeing how ordinary and boring your calendar looks and behaves compared to those on the other blogs? Look no further. You have the King Calendar widget for WordPress. [...]
Kommentar von xantor am 13. September, 2006 um 17:51
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;
Kommentar von xantor am 13. September, 2006 um 17:55
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;
Kommentar von Roger am 20. September, 2006 um 1:13
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]
Pingback von strafstoss.net - » In eigener Sache: Event-Kalender am 1. Oktober, 2006 um 14:30
[...] Für alle Wordpress-Blogger: Ich habe das Widget “King Calendar” und das Plugin “EventCalendar 3.0″ benutzt. [...]
Pingback von WordPress Chinese » Blog Archive » widget插件 am 6. Oktober, 2006 um 4:41
[...] King Calendar,输出日历。 [...]
Pingback von JXTu@NChange » 博客文章 » Widget汉化版 am 7. November, 2006 um 5:14
[...] King Calendar,输出日历。 [...]
Kommentar von Jeffrey am 13. Dezember, 2006 um 16:21
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
Kommentar von Jeffrey am 13. Dezember, 2006 um 16:25
nevermind, fixed it. thanks
Pingback von WP Plugins DB » Blog Archive » King Calendar Widget am 20. Mai, 2007 um 9:52
[...] Visit [...]
Kommentar von Matthias Pospiech am 13. November, 2007 um 23:15
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
Pingback von Matthias Pospiech » Blog Archive » Wordpress Plugins for Wordpress 2.3.1 am 12. April, 2008 um 15:44
[...] wordpress-widget-king-calendar [...]
Pingback von Dellemente Net-Magazine - Where Web Technology Means Business. am 5. Juli, 2009 um 15:43
[...] King Calendar – helps display up to 10 calendar widgets. Also supports the EventsCalendar plugin. [...]