Calendar 1.2.2 Released

Calendar version 1.2.2 has been released. You can download it from WordPress or from my own site. Thanks to all who helped with testing and especially to those who offered solutions to discovered issues.

Keen eyes will notice that 1.2.2 supports WordPress 2.8 but the latest stable version of WordPress is 2.7.1. All this means is that I have tested compatibility with the latest 2.8 beta in readiness for it’s stable release date.


Possibly related articles


  1. baron Said,

    May 30, 2009 @ 3:46 pm

    Works great, thank you

  2. Jack Rugile Said,

    May 30, 2009 @ 7:25 pm


    Awesome, thanks so much for this incredibly useful plugin. It has made my site so much more functional.

    I do have one question though.

    On the previous version I had cut out a certain part of the code to stop the time from showing up next to the title of the event on the sidebar widget. If you go to my site,, you can see that it says “at 8:00 PM” next to each event title. What part of the code do I need to get rid of to stop the time from showing up?

    Thanks again for the great plugin! I look forward to your response.

    – Jack Rugile

  3. Yves B Said,

    May 30, 2009 @ 7:44 pm

    What do you mean by “full internationalisation is possible” ?

    Do I have to translate calendar.PHP file using the calendar powerpoint file ?

    If yes, do you use Notepad++ or another program ?

  4. Kieran Said,

    May 30, 2009 @ 9:32 pm

    Jack, this would require you to modify the calendar code. You’ll want to look at the functions, today_events_widget() and upcoming_events_widget() in the calendar.php file, look particularly are references to $time_string.

    Yves, there is a POT file provided with the calendar. You will need to modify this with your translations, save it as PO, compile it to MO and place that MO file in the calendar directory, with the name “” with en_GB being replaced with whatever your locale is. This file will then get picked up by WordPress and your install of Calendar will be translated. Notepad++ should be fine for modifying the POT file.

  5. Ryan Kennedy Said,

    May 31, 2009 @ 5:34 am


    I like this plugin because it’s simple to use and doesn’t create a post for each event.

    However I’m wondering why the title field is limited to 30 characters. It is very short. Is there a reason?


  6. Kieran Said,

    May 31, 2009 @ 11:14 am

    Glad you like the plugin.

    The title is limited to 30 characters because otherwise each event title could fill up a day slot in the month view of the calendar, even though there may be other events on the day. Limiting the title to 30 characters keeps things looking nice.

  7. Henrik Said,

    May 31, 2009 @ 9:30 pm

    Great plugin! Thank you very much for adding the POT-file!

    There seems to be a problem with the characters å, ä and ö when I translate the pot-file. I guess I could use the ascii-codes å , ä and ö but that seems a bit too complicated. Is there something else I could do? Or maybe something you could do about it?


  8. Henrik Said,

    May 31, 2009 @ 9:39 pm

    Hi again!
    It seems that the problem I mentioned above applies to other areas aswell. When I try to add an event with å, ä or ö in the title I get the following error:

    “The event title must be between 1 and 30 characters in length and contain no punctuation. Spaces are allowed but the title must not start with one.”

    I didn’t have this problem in earlier versions.


  9. Kieran Said,

    May 31, 2009 @ 10:21 pm

    Not having worked with actually translating a POT file before (only providing the code that picks up a compiled MO file) I’m not actually sure what characters are allowed or how you should represent them. You are best to ask this question on the WordPress forums where I’m sure other translators will be able to offer you assistance.

    Your second issue is caused by a regular expression check that was added in the new version. This was done to prevent HTML characters from being added to the title which in some cases was causing problems with the mouse-overs and the ability to access the link that had been defined for an event. I must confess I didn’t even consider foreign characters when I added this check and for that I apologise.

    While I figure out a new regular expression to use to fix the problem, you have the option of modifying the code to remove the check or of course modifying the regular expression yourself. If you know regular expressions, maybe you could suggest one that is friendly to foreign characters but unfriendly to HTML 😉

  10. Maurice Said,

    June 1, 2009 @ 10:43 pm

    Kieran, love the plug. You are the only one out there of this type.

    I want to make my calendar look better. Have you put up any notes on how to modify the calendar and make the CSS look better? I see the implementation on other sites, and the calendar has solid background colors and fills. On any site I try, it has pinline borders and looks bad.


  11. John Ritland Said,

    June 2, 2009 @ 6:40 pm

    Thanks so much for this plugin.

    I’m having a very basic problem. The weekly recurrence feature works fine for me, but the monthly and yearly recurrences don’t. “Monthly” events first appear on the begin date and then as daily events thereafter. “Yearly” events appear as daily events.

    Also…are there “automated” ways of handling exceptions (eg, weekly events that are canceled next week) and semi-monthly events (eg, 1st and 3rd Tuesdays)?

  12. Jane Said,

    June 2, 2009 @ 10:27 pm

    I’ve just tried out your plugin (very nice by the way), but I have 2 things that I need to be able to change before I can use it,

    #1 and most important, I am in the US, and we are used to our calendars starting on Sunday, not Monday, is there some way I can change this?

    #2 The time is set in “military time” 24 hours, can this be changed to a traditional 12 hour calendar in the back-end? I see that it displays properly on the calendar itself, but it’s just too confusing trying to calculate times in 24 hour increments.

    Thank you for the great work! I hope I will be able to make use of it.

  13. Kieran Said,

    June 2, 2009 @ 10:32 pm

    This sounds to me like you have messed up your begin/end dates. Remember that an event that recurs yearly would be setup as follows:

    1. Choose an event, say it’s your birthday today, and you are 20 years old so the DOB would be 02-06-1989
    2. We would set the begin date to 1989-06-02
    3. Seeing as your birthday is only a day long we set the end date also to 1989-06-02
    4. We hope you will live forever so we set the repeats to 0 (indefinite)
    5. We set the repeat interval to yearly as you have one birthday per year

    A similar principal applies for monthly and weekly recurrences.

    If you are still having trouble you will need to e-mail me with the details of a user account that you have granted access to manage calendar so that I can investigate further.

    As for the automation, no this is not an option at the moment. This is highly likely to arrive in version 1.3 😉

  14. Kieran Said,

    June 2, 2009 @ 11:10 pm

    Jane, the following should help you

    1. WordPress has settings to change the start day of the week. If this is set to Sunday, the Calendar plugin will be also
    2. The back-end is just that – something users don’t see. Databases take times in 24 hour format, thus this is how times must be entered in the back-end. The front-end obeys the user configured WordPress time formatting which is why that will display in AM/PM for you.
  15. Viil Said,

    June 3, 2009 @ 12:44 am

    I have tested several event calendars for WP, and found your to have all most of the basic features, clean design, as well as being easy to use for my not-so-tech-savvy content administrators.

    Some suggestions for improvements:
    – add exemptions to recurring events (as it is now I have to create multiple series of the same recurring event to accommodate simple exemptions like single holidays)
    – make the end date of the event be the end date of a recurring event so I can enter start date and end date, and choose between none, daily, weekly, monthly, or yearly (as it is now I have to count repeat instances in order to define the number of repetitions of the event).

    Great job! Keep it up 🙂

  16. Emre Güneş Said,

    June 3, 2009 @ 7:47 am

    I’ve been using your plugin for about three months.
    And I am very happy about it.

    But when I updated to the new version, I faced a problem.
    I can not use “@” in the titles anymore.
    It says, you can’t use any punctuation.
    But in the old one, it was not a problem.

    Why did it change?
    Or do I make something wrong?

    I like the titles like: “x Concert@ y Hall”.
    Why not to be able to use?

    Thanks for your relpy in advance.

  17. Paul Menard Said,

    June 3, 2009 @ 1:44 pm

    Nice Plugin Kieran!

    Comparing this Calendar/Events plugin to some other. Trying to figure out how to get the full page calendar like you have on your examples on your site. I’ve tried setting up a new Page template to call ‘calendar()’ without much luck. Also looking for shortcodes or something.

  18. Jack Rugile Said,

    June 3, 2009 @ 9:51 pm


    Thank you so much for your timely response. I was easily able to get rid of the time string next to each event title with your instructions. Keep up the great work and thank you so much for this amazing plug-in! Take care.

    – Jack Rugile

  19. ethicalhack3r Said,

    June 4, 2009 @ 6:50 pm

    Just installed the plugin, looks great so far. The one thing I cannot figure out to do is repeat an event for a given day of the month rather than date.

    I have an event that takes place on the last Monday of every month, obviously this isnt the same date every month.

    Is there a way around this or will I have to add it manually?

    Thank you!

  20. Rolograaf Said,

    June 5, 2009 @ 1:23 pm


    Can I ask you a little question here? I have Calendar running here
    For some reason the Prev. and Next Month links besides the Calendar tableheading do not work, what have I done wrong?

  21. Manne Said,

    June 5, 2009 @ 2:44 pm


    I am trying to get the calendar plugin to work, but am experiencing very strange behaviour. Tried signing up for the forum site, but it seems emailing of confirmation links is not working for new users so asking here instead. Hope you don’t mind.

    When I try to create a new event, and keep the recurring menu to “None” with repeats set to “0” I get an error message saying:

    “Error: An event with the details you submitted could not be found in the database. This may indicate a problem with your database or the way in which it is configured.”

    I get the same message if I leave the “0” but pick for example “Months”.

    However, if I set “Months” or “Years” in the recurring menu, and enter a number, the post saves fine.

    Unable to figure out what is going on and really hope you can help since this plugin fits my need perfectly.

  22. Michael Said,

    July 15, 2009 @ 4:04 pm

    Just installed this plug-in and as far as I can see does it’s job quite well.
    Definitely the tool I was looking for.


  23. Amanda Said,

    August 25, 2009 @ 6:04 pm

    When I try to create a new event, and keep the recurring menu to “None” with repeats set to “0″ I get an error message saying:

    “Error: An event with the details you submitted could not be found in the database. This may indicate a problem with your database or the way in which it is configured.”

    I get the same message if I leave the “0″ but pick for example “Months”.

    However, if I set “Months” or “Years” in the recurring menu, and enter a number, the post saves fine.

    Unable to figure out what is going on and really hope you can help since this plugin fits my need perfectly.

  24. Kieran Said,

    August 26, 2009 @ 12:19 am

    Please, all, take note of the text above the comments box that requests use of the forum for Calendar questions

  25. Most Useful Wordpress Plugins | Wordpress ThemesGuru Said,

    October 20, 2009 @ 2:02 am

    […] Calendar Best calendar plugin I have seen for WordPress. Easy to style and update. The plugin author also gives quality support. › Visit plugin site […]

  26. Projectivemotion Said,

    March 23, 2010 @ 1:26 am

    WordPress Calendar Plugin Optimization…

    Recently, I had to use the super handy WordPress Calendar Plugin. After adding a few repeating events and taking a look at the output it generated, I noticed the large number of queries that it executed! It executed at least 3 queries per day of the mo…

  27. Wordpress Plug-ins I’ve Learned to Appreciate : : That Cloud Looks Like A Rabbit Said,

    April 27, 2010 @ 2:33 pm

    […] Calendar – My company schedules in-services for training purposes, at least monthly.  Guess who’s in charge of video taping them?  Me!    Having an online calendar showing when all the in-services are was just that bit of chocolate cake that made life a bit easier for people wanting to attend in-services and people like me, needing to know when to videotape them. […]

  28. Henry Said,

    July 5, 2010 @ 2:46 am


    I love this plugin a lot.

    I was wondering is that any way to limit the number of today’s events or upcoming events appear in widget. The current version displays all the available today’s events and upcoming events.


    Any helps will be much appreciated.

  29. Jeremy Said,

    August 13, 2010 @ 10:49 pm

    Great plugin! Keep up the good work!

    FYI…I had some trouble adding a calendar event and it turns out there was a bug in the installation script where it was creating the wp_calendar table. I removed the default value for the event_link column and it created the table successfully.

    If it makes a difference, I was using the development version from your FAQ page.

  30. James Collett Said,

    November 27, 2010 @ 1:30 pm

    I’m looking for a decent calendar plugin and this one looks great.

    But the installation has clearly failed. The wp_calendar table has not been created in my database! – which is an impediment.

    I have a local installation on my Windows XP Pro workstation of a recent (last few months) version of MySQL and WordPress v3.0.1.

    Other plugins have installed okay. Clearly there is a permissions issue at play. But I do not know how to fix it.

    Is there any

  31. James Collett Said,

    November 27, 2010 @ 1:31 pm

    Drat – I realise I posted in the wrong place… Sorry.

RSS feed for comments on this post