Home | Warum | WordPress Widgets & Plugins

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

WordPres Widget King CalendarVersion 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

king calendar screen 1

 

 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 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”

  • 1.

    [...]   King Calendar,输出日历。 calendar [...]

  • 2.

    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!

  • 3.

    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.

  • 4.

    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!

  • 5.

    @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.

  • 6.

    [...] 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. [...]

  • 7.

    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!!

  • 8.

    please check if the king-includes are in the right directory.
    also there seems to be missing a slash after the abspath.

    george

  • 9.

    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!

  • 10.

    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

  • 11.

    @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.

  • 12.

    Feature request: ical support

  • 13.

    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

  • 14.

    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?

  • 15.

    please check your folders -> must be plugins/king-includes for framework and the king kalendar just in the same place as widgets.php

  • 16.

    The activate King Calendar Widget was way at the bottom and I didn’t see it. Now everything is fine.

    Thanks you!

    Dave

  • 17.

    [...] 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. [...]

  • 18.

    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;

  • 19.

    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;

  • 20.

    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]

  • 21.

    [...] Für alle Wordpress-Blogger: Ich habe das Widget “King Calendar” und das Plugin “EventCalendar 3.0″ benutzt. [...]

  • 22.

    [...] King Calendar,输出日历。 [...]

  • 23.

    [...] King Calendar,输出日历。 [...]

  • 24.

    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

  • 25.

    nevermind, fixed it. thanks

  • 26.

    [...] Visit [...]

  • 27.

    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

  • 28.

    [...] wordpress-widget-king-calendar [...]

  • 29.

    [...] King Calendar – helps display up to 10 calendar widgets. Also supports the EventsCalendar plugin. [...]