Calendar and Events
Note: Calendar and events feeds are incorporated using a shortcode. Shortcodes are available to help you quickly add more complex features to your pages. To add shortcodes, open the HTML source editor in Cascade and paste the shortcode where you'd like the element to appear within your layout.
Calendar
The calendar shortcode is used to add a university calendar widget to your page. To add the widget, simply wrap which department tags you want to pull events for in the [calendar][/calendar]
shortcode, as shown below. The department names correspond with the department names found on calendar.clemson.edu.
Shortcode
[calendar]academic, special events[/calendar]
Rendered Shortcode
-
Apr 25 Rural Witnesses ExhibitionLocation: 701 CCA (Center for Contemporary Art)
-
Apr 25 8am Biology Merit Exam
-
Apr 26 Rural Witnesses ExhibitionLocation: 701 CCA (Center for Contemporary Art)
-
Apr 26 8am Carolina Classic Paso Fino Horse ShowLocation: T. Ed Garrison Livestock Arena
-
Apr 27 Rural Witnesses ExhibitionLocation: 701 CCA (Center for Contemporary Art)
There are also a couple attributes available to modify the calendar feed.
type
- specify between a list of events (widget) or a list of events paired with a minature calendar (combo)num
- specify the maximum number of events shown
Shortcode
[calendar type=combo num=10]academic, special events[/calendar]
Rendered Shortcode
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
30 | 31 | 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 1 | 2 | 3 |
-
Apr 25 Rural Witnesses ExhibitionLocation: 701 CCA (Center for Contemporary Art)
-
Apr 25 8am Biology Merit Exam
-
Apr 26 Rural Witnesses ExhibitionLocation: 701 CCA (Center for Contemporary Art)
-
Apr 26 8am Carolina Classic Paso Fino Horse ShowLocation: T. Ed Garrison Livestock Arena
-
Apr 27 Rural Witnesses ExhibitionLocation: 701 CCA (Center for Contemporary Art)
Events
The events shortcode is used to add an events feed to your page. To add the feed, simply wrap which department tags you want to pull events for in the [events][/events]
shortcode, as shown below. The department names correspond with the department names found on calendar.clemson.edu.
Shortcode
[events]academic, special events[/events]
Rendered Shortcode
There is one attribute available to modify the events feed.
num
- specify the maximum number of events shown
Shortcode
[events num=10]academic, special events[/events]