Do you want to incorporate a Google Calendar into your WordPress blog?
Google Calendar is a great app to have on your website because it allows you to easily share in-person and virtual events with all of your visitors.
We’ll show you how to add a Google Calendar to WordPress step by step in this article.
Why Should You Use Google Calendar With WordPress?
One of the most widely used free Google Tools is Google Calendar. You can easily display upcoming events to your visitors by integrating Google Calendar with WordPress.
You can use this to display upcoming webinars, virtual retreats, online sermons, coaching calls, and other events.
Plus, any changes you make to your Google Calendar will automatically update your website calendar, saving you time and effort.
So, let’s take a look at how to integrate a Google Calendar into your WordPress site.
Using a Plugin to Add Google Calendar to WordPress
After activation, go to Calendars » Settings to configure the plugin.
Then, select ‘Google Developers Console’ from the drop-down menu.
This will take you to the Google Cloud Platform, where you can link your Google Calendar to the plugin. With a Google API key, you must grant the plugin access to your calendar data.
Click the ‘Create Project’ button to get started.
This will take you to a screen where you can give your project a name and select the ‘Organization’ and ‘Location.’
The name can be anything you want, but we suggest something that will help you remember the project. You can simply type your website’s URL into the other two fields.
After that, press the ‘Create’ button.
You’ll be taken to your project dashboard after that.
You must select the ‘Enable APIs and Services’ option here.
This will take you to a page listing all of Google’s APIs.
To proceed, go to the ‘Google Workspace’ section and select the ‘Google Calendar API.’
Then press the ‘Enable’ button.
This turns on the API, allowing you to generate an API code.
Click the ‘Create Credentials’ button on the next screen.
Then, from the drop-down menu, choose ‘API key.’
This will display your API key in a popup window.
You must copy and paste this into your preferred text editor.
Return to your WordPress dashboard’s plugin settings screen and enter your API key there.
Then, on the ‘Save Changes’ button, confirm your changes.
Now that you’ve successfully linked your WordPress website to Google Calendar, you can add your calendar to your website.
Publicizing Your Google Calendar
If you want to share a Google Calendar, you must first make it public by changing the calendar settings.
To do so, first open the Google Calendar that you want to integrate into your WordPress site.
Then, from the drop-down menu, select ‘Settings’ from the ‘Gear’ icon.
Then, in the ‘Settings for my calendars’ section, click on the name of the calendar you want to share.
This will take you to a new page with the individual calendar settings.
Then, in the ‘Access permissions for events’ section, check the ‘Make available to public’ box.
Then, in the popup box, click ‘Okay.’
Scroll down to the ‘Integrate calendar’ section after you’ve done that.
You’ll want to copy the ‘Calendar ID’ and paste it into your preferred text editor so you can reference it later.
Using the Simple Calendar plugin to create a new calendar to embed into your site is the next step.
To access the calendar editor, go to Calendars » Add New in your WordPress dashboard.
To begin, give your calendar a name. In the text area, you’ll notice that the plugin has already added some shortcodes and text. Leave it alone and scroll down to the ‘Calendar Settings’ box beneath the text editor.
Then, under the ‘Google Calendar’ tab, paste the Calendar ID you copied earlier into your text editor.
You can also customise how the calendar appears on your WordPress site by clicking on other tabs in the calendar settings box.
To save your calendar, simply click the ‘Publish’ button when you’re finished.
Add a Google Calendar widget to your WordPress site.
Your newly created calendar is not yet visible on your WordPress blog. The calendar must still be added to a WordPress post or page.
Simply go to Pages » Add New and give your page a name to add your calendar to a page.
Then, to bring up the blocks menu, click the ‘Plus’ icon and select the ‘Shortcode’ option.
The shortcode for your new calendar must then be entered.
You can find this by going to Calendars » All Calendars and looking for the shortcode that corresponds to it.
Simply click the ‘Publish’ button once you’ve finished making changes to your calendar page.
You can use this shortcode to display your new calendar in any area of your website, including widgets.
On your WordPress site, your new calendar is now visible. As you add new events, it will automatically update.
When your users hover their mouse over an event, the event details will appear.
We hope that this article has shown you how to integrate Google Calendar into WordPress. You might also be interested in our comparison of domain names and web hosting.