The calendarfeed_25live shortcode displays the next eight upcoming events from any existing filterView in 25 Live. The calendarfeed_25live shortcode requires a filter parameter.
The shortcode itself only shows the events – so it’s a good idea to put other elements around it to give it some context – like an h2 tag above and a buttonrow below to the full events feed.
Tip: If your calendar feed looks unbalanced, consider rewriting your event titles and summaries for consistency. Also, ensure that each item has a thumbnail image.
calendarfeed_25live Attributes
Name | Possible Values | Required | Notes |
---|---|---|---|
filter | A 25 Live filter view to display | Yes | For a list of existing filter views or to have a new filter view set up, please contact Ryan Klutsarits in the Conference Center |
maxevents | A number | No | Sets how many events to display on a feed. |
startdate | A date in YYYY-MM-DD format | No | A starting date. When a start date and end date are specified, maxevents is ignored. |
enddate | A date in YYYY-MM-DD format | No | An ending date. When a start date and end date are specified, maxevents is ignored. |
noimages | true or false | No | When set to true, images will be hidden. |
vertical | true or false | No | When set to true, events will be shown as a list instead of rows of thumbnails. |
showtimes | true or false | No | When set to true, the start time for the event will be displayed. |
showlocations | true or false | No | When set to true, the event location will be displayed. |
Example
Code Sample
Individual calendar event feed:
[calendarfeed_25live filter="SUSTSEM" vertical="true" maxEvents="4" showtimes="true" showlocations="true"]