Google Calendar Events, 0.7.2

It’s been a long time since I’ve updated Google Calendar Events. I’ve had very little time to work on the plugin lately, due to other projects that have had to take precedence.

A couple of months back, I did begin a major rewrite of the plugin, with all sorts of snazzy improvements, but it’s a long way off release worthy, or even beta worthy, at present. I’ll continue to work on it when I can, but I thought I’d better fix a couple of minor (yet annoying) bugs in the current version for the time being.

The fixes in 0.7.2 are as follows:

  • There was an issue with the “More details” Google Calendar page link. The URL wasn’t constructed correctly, which resulted in the event details defaulting to the UTC timezone. This only affected the simple display options (not the event display builder), but is fixed now.
  • Previously, setting the cache duration to 0 would be ignored, causing caching to still occur. Setting this to 0 should now work correctly.
  • With FORCE_SSL_ADMIN enabled, the plugin’s Ajax requests would fail in most cases, preventing month navigation. This shouldn’t be the case any longer.

Also, an issue brought up in the WordPress core Trac recently made me realise I’d been using the wrong method (an incorrect hook) for enqueuing the plugin CSS and JavaScript, which could potentially cause an issue with the newly released 3.3 version of WordPress. I don’t think the issue would have affected Google Calendar Events, as I had is_admin() checks in place, but better to be safe (and correct) than sorry!

Before updating, remember that if you’ve made any changes to the main plugin stylesheet (google-calendar-events/css/gce-style.css), you should take a backup first, as changes will be overwritten during the update. If you’ve used the “Custom stylsheet URL” method instead, you shouldn’t need to worry about this!

You can download the update from the plugin directory, or simply update from your WordPress admin.

Feedback, bug reports and feature requests are always welcome. You can add a comment below (or on the plugin homepage), or send me an email.


137 Responses

  1. Hi Ross,

    I’m using your plugin and it works great. However, I am running into one glitch that I’m having some trouble with. I’m using the plugin in three spots and in three ways:

    1) Widget List
    2) Page Grouped List
    3) Page Calendar View

    While all three work fine, I’m having some troubles limiting the amount of events shown while using the Widget List and Grouped List on the page. I have the “max” option set to “5”, however, the grouped list is showing 30 or so events! Maybe I’m just overlooking something but your instructions are pretty clear…

  2. Is it possible to have the widget feed only list a week’s events at a time?

    And how do you set your calendar so that they can view the previous/future months?

    Thanks so much!


  3. Hi,

    I’m having some difficulties with timezones in the plugin. I have checked the timezone on the calendar, event, and setting in the plugin and all correspond to the city they are being displayed in (Melbourne, Australia). Because Australia is so far away from GMT+0 these timezone things always show up, I have had a lot of problems with google products.

    This is basically what happens:
    I have a default ‘list-grouped’ event calendar ([google-calendar-events type="list-grouped"]). The first day is always 1 day behind. Today I noticed that it was one day ahead of time at 9PM. The interesting thing is that the calendar ALWAYS highlights the correct day.

    Today I hacked the offset of the Retrieve events to Now -41400 by trying every combination of thing I could to reflect the current position.

    I am a developer myself of about 10 years (in mostly desktop) and will review the code to see if I can put in a fix but was just checking in case you’ve got a pending bug fix for the problem.

    I would like to thank you again for creating a great plugin for this, it’s a shame that google doesn’t provide an official google calendar plugin, it seems they put very low priority onto google calendar.



    1. Hey,

      Disregard my first comment.

      I realised after I had sent my last response my problem was I was using the NOW retrieve time and not the start of the day setting. Saying that I will have a bit of a look at the code behind the NOW setting because it doesn’t seem to pick up the events I would think it would unless I set the offset very far into the past for a couple of my events. I will let you know if I find anything, otherwise thanks again.


  4. Hi,
    i´d like to change the word “busy” in the event “pop-up” to a german word “beschäftigt”. I can´t figure out how to do this. Does it come from google and there is no chance to change it?