Setting up Google Calendar API for Events Calendar
# 5 years, 11 months ago
Google calendar api change makes the NativeCHutch theme calendar not working to get it fixed first you need to update the theme to the latest version and use the latest shortcode as described here: http://support.imithemes.com/forums/topic/new-calendar-shortcode-for-nativechurch-v1-9-2/ and follow the steps below
How to get your google calendar API key and ID to use for showing your Google Calendar Events in your Native Church Calendar
Google application api key needs to be entered to get the access of the calendars. To optain an api key just login to your google account and go to this URL: https://console.developers.google.com/project . Here you need to create a “New Project” a quick popup will come to enter the project name. Enter any name of your liking which you can remember as your website Google Calendar Events. After clicking the create button it will take few seconds to get it completed. Once its done click on “Enable and API” button to generate api key. On the next page search for “Calendar API” and click that link. On the enxt page toggle the “Off” button to make it “On”.
Now on the left sidebar you can see “Credentials” link under APIs and auth heading. Click on it and on the next page click button create new key. On the popup opened click “Browser Key” and then click “Create”. Done. Now you can see your API key on the following page. Just Copy that and paste at the Theme Options > Calendar Options.
Next step is to get your Google Calendar “ID” and to get that go to your Google Calendars page here and click on any calendar’s arrow which you want to share at the left sidebar under “My calendars” tab. On the popover click on “Calendar settings”. Now on the next page you will find the calendar ID which needs to put at Theme Options > Calendar Options. [MAKE SURE YOUR CALENDAR IS SET AS PUBLIC AND NOT PRIVATE]
ThankscutangParticipantPost count: 6# 5 years, 9 months ago
This is great feature. And following the instructions above, I was able to make the event calendar working.
However, this doesn’t seem to be seamlessly integrated with theme’s event feature. The events from Google Calendar are ONLY visible in event calendar. For all events, event timeline, or upcoming events, the events are there, but only show ‘busy’ as event title. I would expect it to be able to show both event title and event details correctly in all other event views. If I didn’t do anything wrong, please continue to improve this features as described.
@jon4god Please keep your conversation here: http://support.imithemes.com/forums/topic/events-from-google-calendar-are-only-visible-in-events-calendar/
After hours of searching I am unable to find the location to add the API Key, which I have, and the Google ID. It is also unclear which Google Feed to use the XML or ICal to paste on the Calendar options page. I did read to make sure you check the Show WP events. I can get my calendar to show events I have added with in the theme but not imported from my Google Calendar. Please advise. Also could you please include a screen shot of where the places to add the API Key and the Calendar ID are?
I have this code embeded on my calendar page which does allow it to show events I have added from within wordpress dashboard but not the Google events from the Google Calendar? Is this code wrong? Can I show both? Can I show more than one category by not selecting a categroy when embedding the short code?
Here is the code I have currently:
[one_full extra=”” anim=””]
I have also tried this:
Here is a link to the website I am working on.
We love the theme by the way.
You are using v1.8.1 of the theme which is very old now. The api key option for Google Events were added later on this as per the Google new requirement. See these threads:
API info needs to be added at Theme Options > Calendar Options
Hope it helps.
ThanksBSLCParticipantPost count: 30
I wish I could agree with the author above. I have spent almost the entire day trying to get a Google calendar to even show up on my website, and it has not yet happened. I have cut and pasted the API into the API block and have copied the id into the id block.
I cannot figure out what is being looked for in the Google Calendar Feed URL. I have tried to look it up on Google, reading all of the posts around this one, etc. I cannot get it do do this. I will send credentials for the Google calendar in a private reply to this one.
The documentation should go right down the form being filled in and tell you what goes in each one. It sort of starts to do that, but does not complete.
I have upgraded to the 2.0. After Upgrade at first the Calendar says undefined. Now it says March however I cannot see the events I have on the Google Calendar. We are geting closer to the solution. I do see that you have included the api key and other custom setting areas in the customization area. This is good. Mine is still now working quite right. What next please ? This is creating an huge income loss for me. I cannot bill customer for this.
Here is a screen shot showing that I have entered the feed url, the api key and the other items requested, including check include all WP Events. When I include :
[event_calendar category_id=”38″] It shows the calendar but no google info is imported.It does the same without the id# – Is there a more current embed code I should be using?
When I delete the embed code I see nothing. When I delete the category ID I still see the Name of the month and the calendar view but still with no content from Google.
Here is the link to the calendar page. http://pinecrestvillagemc.com/events-calendar/
Please email me for login info if you could please help me fix this issue?
The Calendar page uses the default template currently.
I am also confused if the Google Calendar does finally embed will it fill the events timeline? Or will I have to do that manually or just not use that feature at all?
@brasswindart Please update your theme to latest version v2.0.1 to fix this problem. More info about the update is here: http://support.imithemes.com/how-to-get-theme-updates-notifications-with-in-your-wordpress-dahsboard/
ThanksodpcbandParticipantPost count: 177
Hi, i followed instruction above.
it wasn’t working for me. do i need to add google calendar event plugin??
when i input calendar feed url section with xml or html info, it gives me error message like the image attached.
please let me know what to do. thanks.beckyParticipantPost count: 23
Hi I have a similar issue,
I clicked on “XML” next to the red calendar ID box for feed URL, so I don’t know what else I could get it from.
I can get a calendar to display correctly from WP + GoogleCal using the shortcode in one of the forums see -> (http://lights.st-thomas.org.au/events/calendar/).
(I also note that even though I’ve ticked the box, my GoogleCal events DON’T appear with the WP ones ie “Upcoming Events” on the home page doesn’t include the gcal ones (I’m aware there’s overlap currently between the two, but don’t want to delete one until it’s fully functioning).
I get the below error on my home page.
I have had to remove the “feed URL” link in settings because on my home page that error below appears (which isn’t so great for aesthetics).
Warning: file_get_contents() [function.file-get-contents]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/stthomas/public_html/lights/wp-content/themes/NativeChurch/imic-framework/imic-theme-functions.php on line 1673
Warning: file_get_contents(http://www.google.com/calendar/feeds/1b9khe2c4n1moj22smluunohns%40group.calendar.google.com/public/basic?singleevents=true&futureevents=true&max-results=999&orderby=starttime&sortorder=a) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/stthomas/public_html/lights/wp-content/themes/NativeChurch/imic-framework/imic-theme-functions.php on line 1673
Warning: Invalid argument supplied for foreach() in /home/stthomas/public_html/lights/wp-content/themes/NativeChurch/imic-framework/imic-theme-functions.php on line 1675
@annagrummitt You should change allow_url_fopen=0 to allow_url_fopen=1 in your php.ini file to get access for google feed to download content. You can ask your host if you do not have access to the php.ini file of your server.
If you need more help on this then do create a separate thread here: http://support.imithemes.com/forums/forum/wordpress-themes/nativechurch-wp/#new-post
ThanksnantunesParticipantPost count: 4
I Have a similar (but Stranger) issue with getting events from Google Calendar.
In event View Grid it Seems that is only getting the first event (first image).
The Calendar View is getting all the events (second image).
The configurations look ok to me (third image).
In the feed it seems just getting the last event of the feed (in this case a recurrent event that never ends).hfrudieParticipantPost count: 1# 4 years, 10 months ago
Hi, I have been trying to get the Google Calendar event list working, read all the support threads, but can’t get it to work. The calendar overall view is working, just the events list is not showing on the home page and events are not listed on the dashboard. URL http://www.starseindhoven.nl. Thanks for helping out!# 4 years, 10 months ago
@hfrudie You are using the Adore church theme which do not have the feature of getting Google events in all parts of theme. It just get the events for calendar. We have this feature coming soon in Adore church as well. For more info about Adore church theme please create a support thread here: http://support.imithemes.com/forums/forum/wordpress-themes/adore-church-wp/#new-post
You must be logged in to reply to this topic.