Add to Calendar Links
Pie Calendar Pro has the ability for your website visitors to add events to their own calendars such as Apple and Outlook via .ics files, and online calendars such as Google Calendar and Office365.
Clicking an event reveals the popover and the "Add to Calendar" links appear at the bottom:
By default, the Add to Calendar links will not appear unless you turn them on.
You can control which calendars appear in your popover in your WP Admin panel under Settings > Pie Calendar:
Visitors to your website will see event start/end times adjusted relative to their local time zone, which will also be reflected when they add your event to their calendar.
Read more about adaptive time zones here.
Add to Calendar Links on Individual Event Pages
If you want to show the Add to Calendar links once a user has clicked through to a single event from the calendar view, you can use the [piecal-info] shortcode, along with the fragments attribute.
fragments: This allows you to determine which portions of the info shortcode are shown, acceptable values are: start, end, timezone, all, allday, timezone, and atc.
To show ATC links by themselves on the single post view, use the following shortcode:
[piecal-info fragments="atc"]
Or, to show only the start date/time and ATC links, you can use this example:
[piecal-info fragments="start, atc"]
Note that if using more than one fragment, the order of the fragments always appear in the same order on the front-end.
To control the order of how each item is arranged or to split the fragments to different parts of the page, use separate instances of [piecal-info]:
[piecal-info fragments="allday"] [piecal-info fragments="atc"] [piecal-info fragments="start"]