How to add a Calendar Feed with Google Calendar Events
In this article we will show you how to use Google Calendar Events to add a calendar feed to your website.
Please note: For this article you will need to install the Google Calendar Feeds plugin.
Step 1) Login to the WordPress Dashboard.
Step 2) On the Dashboard, choose GCal Events >> Add New from the Admin Menu.
Step 3) Enter the title of your calendar, and then scroll down to the Event Builder code. You can edit these details to suit your needs.
Step 4) If you’re not confident on editing the code, you can tick the box on the right-hand sidebar and use the simple display options set up for you, including start and end date/time display, text, location, display, etc. You can also add Event links in the calendar.
Step 5) The Feed Shortcode can be copied and pasted into any page, post or text widget. For your GCal Feed URL, follow the instructions and then add your Google Calendar Feed URL into the box provided.
Step 6) The search query box will allow for users to search for an event.
Step 7) Enable the Expand Recurring Events option if you want to show recurring events every time in your calendar. If disabled, it will only show up on the first occasion.
Step 8) You can change the time and date formatting by adding your preferred method in the boxes below. Leave blank to use the plugin default.
Step 9) The feed is cached every 12 hours (43,200 in seconds), but you can reduce it if you feel you need to.
Step 10) Multiple Day Events are events that carry on over more than one day, and enabling this feature will ensure that it shows up on the calendar for every day the event runs.
Step 11) You can display your calendar as a Grid or a List. Choose your preferred method, then tick the box underneath if you want Next and Back navigation links added to your calendar.
Step 12) To give your calendar more flexibility, you can set the Number of Events per Page, change the display start date, and set how far a user can go back and forward in time via your calendars.
Step 13) Once you hit Publish, head to GCal Events on the Admin Menu and choose All GCal Feeds to see all of your calendar entries. Make a note of the Feed ID, as you will need it if you want to add the calendar to your sidebar via the widget.
Step 14) Head to Appearance >> Widgets on the Dashboard, then find the Google Calendar Events widget and drag and drop it into your preferred location on the right (header, footer or sidebar).
Step 15) This will open your options, where you can add your title, feed to display (found on the GCal All Feeds page under Feed ID), how to display your calendar and more.
Step 16) Once saved, head to your Home Page to see your Google Calendar in your website sidebar.
Step 17) If you would like to add a Google Calendar Feed to a post, head to your Dashboard and choose Posts >> Add New. Copy the shortcode for your calendar feed into the Text (HTML) section of the Add New Post page, the publish your post when you’ve finished it.
Step 18) View the post when it is completed, and your Google Calendar Feed will be embedded in your post. The user can then click on the date and view the event for that day.
This concludes our guide of the Google Calendar Events plugin.