Home Forums Event Espresso Premium How to add "Add to Google Calendar" button on event listings

How to add "Add to Google Calendar" button on event listings

Posted: March 29, 2019 at 2:05 am


March 29, 2019 at 2:05 am


I would like to add an “Add to Google Calendar” button next to the ical button that the plugin provides. Can anyone provide guidance, in the form of code and what template to edit, on how to do this?


  • Support Staff

April 2, 2019 at 4:39 am

Hi there,

So do you have the code to generate an ‘Add to Google Calendar’ button and need know how to add it to the EE output?

EE use the FHEE__espresso_list_of_event_dates__datetime_html filter to hook in and add the generate_add_to_iCal_button callback to generate and output the ical button your see now.

So you could hook into that same hook at a later (or earlier if wanted) priority and add your own button.


April 13, 2019 at 1:50 am

That’s what we’re actually asking, the code to generate an ‘Add to Google Calendar’ button in an event listing page. I remember we have that button before in event listing for EE3. When someone registers, they would just click that button and it automatically added on their calendar. Does the EE4 also has this? Would like to ask if it can be manually added via code on a wordpress page?


  • Support Staff

April 15, 2019 at 3:32 am

EE3 and EE4 both have a link to an .ics file in a very similar format, so the functionality should be the same.

In EE3 it’s this link –

In EE4 it’s this –

Clicking either of those links will either download the ICS or opening it automatically depending on your browser settings.

Is that not what you are looking for?

The support post ‘How to add "Add to Google Calendar" button on event listings’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 2 months ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!