Private Google Calendars


This plugin can display multiple private Google calendars with a shortcode or as a widget.


  • Access to private calendars by using OAuth2.
  • Adjustable caching – this can greatly improve the performance.
  • It uses the FullCalendar library to show the calendar and can be fully customized with shorcode attributes and in the widget settings.
  • Calendar filtering.


  1. Upload the plugin files to the /wp-content/plugins/private-google-calendars directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Private Google Calendars screen to configure the plugin
  4. See the Help tab in the settings screen for information about setting up the OAuth2 access and using the shortcode and/or widget.


How can I override the calendar look?

Create a child theme and enqueue a css file with a dependency on pgc for example:

wp_enqueue_style('fullcalendar-override', get_stylesheet_directory_uri() . '/fullcalendar-override.css', ['pgc']);
I get a ‘Token has been expired or revoked’ error

This usually means you don’t have a valid access or refresh token anymore. This can only be solved by manually revoke access on the Google Permissions page and remove all plugin data.

I get an ‘Error: redirect_uri_mismatch’ error when I want to authorize

This means that you didn’t add your current URL [YOURWEBSITE]/wp-admin/options-general.php?page=pgc to the authorized redirect URIs as explained in the Getting Started section of the Help tab in the Settings screen.

W3 Total Cache

If you use W3 Total Cache and have minify JS enabled, make sure that you do one of the following:
Choose “Combine only” in the “Minify” settings.
Enter the following files in the “Never minify the following JS files” textbox: fullcalendar.min.js and locale-all.js. Make sure you add the full path to these files from the root of your installation, so if your WordPress website is located in the wordpress directory, this will be:



December 9, 2019
I have tried different Google Calendar plugins, but THIS IS SIMPLY THE BEST!
December 1, 2019
One of the best Google Calendar plugins for displaying content while keeping control - with no 'paid' extras. An almost professional support coupled with the willingness to implement new features to make the plugin even better. Simply fantastic - or to make along story short: 5 stars.
January 14, 2019
well done! very good & effective plugin. a suggestion to make it better if you can enable subscription to public calendars, e.g. local holidays, so we can embed them into our published calendars.
October 29, 2018
I recommend this plugin to everyone, who want show Google-Calendars on their WordPress-Site. It´s very easy to setup and works like a charm! For everyone who wants to show the calendar filter checkboxes below the calendar, here is the CSS to add to the pgc.css: .pgc-calendar-filter-wrapper { position: absolute; bottom: 0; margin: 10px; }
October 2, 2018
I was looking for exact plugin with same functionalities, it is very simple and it is easy to edit and extend the functionality like createEvent inside this plugin.
Read all 5 reviews

Contributors & Developers

“Private Google Calendars” is open source software. The following people have contributed to this plugin.




  • Show popup also for weeklist


  • Popups can be dragged


  • Bugfix


  • Bugfix


  • Added version query parameters to enqueued styles and scripts for caching purposes
  • Make creator, location, attendees and attachments, calendarname available for events
  • CSS classes added to popup to make override style possible


  • Bug: cast attributes from shortcode to int or boolean
  • Add CSS classes to time, title, description and link of event in popup
  • Removed title attribute from event


  • Now also possible to display public calendars like national holidays


  • New option: eventlink
  • Changed option: eventpopup
  • Tippyjs theme change
  • Font size changes


  • You can now hide passed or future events


  • Title and button text change


  • No borders around events
  • Remove small font size header and button text


  • Timegrid week working
  • Bug fixed: using same cache for multiple calendars with different calendar selections
  • CSS overrides for WP
  • Mobile responsive toolbar


  • Tippy tooltips (
  • WP CSS override for specific fullCalendar


  • Now possible to specify specific calendars in the shortcode, so it’s now possible to show different calendars on different sections of your website.
  • FullCalendar update to v4.


  • Possible to override calendar color with fullCalendar eventColor or eventBackgroundColor properties


  • Fullcalendar locales check


  • Make working with PHP 5.4 as in requirements: Arrays are not allowed in class constants.
  • Rewrite empty() calls on methods to make it work with PHP 5.4
  • You can now sub-select calendars per widget, so you can add multiple calendars
    as a widget, where each widget displays a different calendar.


  • Updated fullcalendar to 3.9.0
  • Tested with WordPress 5.0.2
  • Fixed path for fullcalendar.print.min.css
  • Removed moment.js file, because we use the WordPress one


  • First release