Event Information Shortcodes

Available Attributes

Some of the Event Builder shortcodes support attributes. Each shortcode will specify which ones work for it, but this is a list of all available attributes to reference.

AttributeDescriptionChoices
htmlWhether or not to parse HTML entered in the relevant field.true, false
markdownWhether or not to parse Markdown entered in the relevant field.true, false
limitThe word limit for the field.A positive number
formatThe date / time format to use.A PHP date format string
newwindowWhether or not the link should open in a new browser window / tab.true, false
precisionThe precision to use for time differences in human-readable format.A positive number
offsetAn offset (in seconds) to apply to a date / time before it is displayed.A number (positive or negative)
autolinkWhether or not to automatically make URLs entered into the description of an event into “clickable” links.true, false

Shortcodes

These are the basic shortcodes that are replaced with event information when the plugin generates the grid or list.

ShortcodeDescriptionAttributes
[event-title]Displays the event titlehtml, markdown
[start-time]Displays the start time of the event.offset
[start-date]Displays the start date of the event.offset
[start-custom]Displays the start date / time of the event.format, offset
[start-human]Displays the amount of time until the event starts, or how long ago it started (the difference between ‘now’ and the start time of the event) in human-readable format, such as ‘1 hour’, ‘4 days’, ’15 mins’.precision, offset
[end-time]Displays the end time of the event.offset
[end-date]Displays the end date of the event.offset
[end-custom]Displays the end date / time of the event.format, offset
[end-human]Displays the amount of time until the event ends, or how long ago it ended (the difference between ‘now’ and the end time of the event) in human-readable format, such as ‘1 hour’, ‘4 days’, ’15 mins’.precision, offset
[location]Displays the location of the event.html, markdown
[maps-link]…[/maps-link]Anything that you enter between the opening and closing tags of this shortcode (including further shortcodes) will be shown as a link to Google Maps, using the location of the event as a search parameter.newwindow
[description]Displays the event description.html, markdown, limit
[link]…[/link]Anything that you enter between the opening and closing tags of this shortcode (including further shortcodes) will be shown as a link to the Google Calendar page for the event.newwindow
[url]Outputs the raw URL to the Google Calendar page for the event.
[length]Displays the length of the event, in human-readable format.precision
[event-id]Outputs the unique identifier assigned to an event.