Google Calendar is a great way of managing events for your church or organization and you can display event information from Google on your churchuna site. (Note: also see the built-in events feature of churchuna).

Add Your Google Calendar feed to Your Site

  1. In your site’s dashboard visit Settings->Google Calendar Events.
  2. Click Add Feed.
  3. Enter the url for your Google Calendar in the Feed URL box. This feed is the xml feed found in the Calendar Settings page for your Google Calendar.
  4. Save this feed. You can come back later and adjust the options found here to change the way the feed displays on your site.

Add a Widget to Show Your Events on Your Site

Now that you have added your Calendar feed, you can use the Google Calendar Events feed to insert a display of your latest events in a sidebar or any widget enable part of your theme.

You may want to go back to the page where you added the feed and change the display options for the feed at this point.

Display a Calendar on a Post or Page

To add a calendar to a post or page simply add the following shortcode:

[google-calendar-events]

or for an ajax enabled calendar with a couple of more options:

[google-calendar-events id="1, 3" type="ajax" max="10"]

Where id is a list of feed to display separated by commas; and max is the number of events to show.

You can paste a shortcode into the content of any post or page.

The shortcode takes up to four different parameters:

Shortcode Parameters

  • id – The IDs of the feeds you want to display as a comma separated list (all feeds will be displayed if this is omitted).
  • type – Should be one of the following (defaults to grid if parameter is omitted):
    • list – Events displayed in a list
    • list-grouped – Events displayed in a list, grouped by date
    • grid – Events displayed in a calendar grid for the current month
    • ajax – Events displayed in a calendar grid, with the ability to change months via AJAX
  • title – Title text to be displayed on the top of the tooltip / list items (no title is shown if parameter is omitted).
  • max – The maximum number of events to display. All events retrieved will be displayed if set to 0, or if this parameter is omitted.
  • order – The order of events. This only applies to lists. Should be asc or desc (defaults to asc if this parameter is omitted).

You could of course use Google’s own embed code to do this too. It will depend on your theme and your content which suits you best.