On this page all options of the Private Google Calendars settings page are explained.
Cache time in minutes
If this value is empty or 0 (zero) then no caching is done. This means that every time your calendars are displayed, for each calendar a request to Google is made. If you have multiple calendars, this can take some time. If you set this value for example to 1440 then these requests are cached for one day, which speeds up the calendars enormously.
The disadvantage is that if you change something in your Google calendars, like adding or removing a an event, then this change won't be visible for as long as the cache is valid. However you can remove the cache with the "Remove cache" button at the bottom on the settings page.
Show private events
It's possible to make a Google calendar event to be private. Select this option if you want these private events to be displayed in your calendars.
This plugin currently adds 2 themes: a light and dark one. If you want to create your own theme or styling, you can take a look at the CSS files of these themes as a starting point. You can find them at the wp-content/plugins/private-google-calendars/css/themes directory. If you add your own CSS files to this directory, they will be picked up by this plugin and you can choose your own theme.
If you have a good looking theme, you can always send it to me and maybe I'm adding it to the default themes.
Event popup theme
This is the popup with event details that shows up when clicking on an event. Note that this popup has to enabled!
Public calendar settings
Important: using an API key used to work, but this isn't officially supported by Google. So it might still work or not. It's better to use the authorisation process outlined in the getting started page.
If you want to display public calendars you can just enter the calendar ID on the page or widget where you want to use this calendar. But then the calendar ID will be displayed in a default color. If you want to display a specific title and color for the calendar, you can enter them here.
Private calendar settings
Upload client secret
When you haven't authorised this plugin to access your Google calendars yet, you first need to do this and you will see this "Upload client secret" section. See the getting started page for more information about this process.
After this plugin has been authorised to access your Google calendars, you'll see all the calendars that are linked to your account. You can select the calendars you want to make available to your website.
If you made some changes to your Google calendars, like adding or removing a calendar or choosing a different color, you can click this button to download the changes.
If you use custom colors for calendar events, you have to download the colorlist once.
This will verify if the authorisation has been setup correctly.
Here you can remove the cache.
Here you can revoke the access of this plugin to your Google calendars. This can also be done manually at the Google permissions page. Note that this will stop this plugin from working.
Remove plugin data
Here you can remove all the data this plugin has saved. Note that this will NOT revoke access, this must be done with the Revoke access button or manually from the Google permissions page.
Options for wp-config.php
You can set the following options in wp-config.php:
PGC_EVENTS_MAX_RESULTS(default 250) – Maximum number of events that Google returns.
PGC_EVENTS_DEFAULT_TITLE(default "") – If the title of an event is empty, which can happen when the status is busy, the value of this option is displayed instead.