iCal Links

The Events Calendar already provides convenient buttons with which visitors can export lists of events, as well as individual events, in iCal format.

Sometimes, though, it is nice to provide these kind of links in other posts and pages (or indeed you may wish to have more control than the default iCal buttons expose to non-coders).


The [eventrocket_ical_link] link allows you to easily do just that – and it supports some of the same shortcode parameters as does the [event_embed] shortcode. Here’s an example:

[eventrocket_ical_link from="today" to="+1 week"] 
    Click here to download this week's calendar!

This generates a link through which visitors can download a custom, iCal-formatted dump of your calendar data. You can specify a maximum limit to the number of posts and even narrow it down to a specific category.

Here are all of the supported parameters:

  • event
  • from
  • to
  • category (or categories)
  • tag (or tags)
  • limit

Usage of each is essentially as per the [event_embed] shortcode.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s