University of Michigan: Events
Wordpress widget to get and display events from events.umich.edu.
by U-M: Digital · github.com/umdigital/umich-events · website
★ 5stars
28release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/umdigital/umich-events/releases/download/1.4.2/umich-events-1.4.2.zipDeclares an update source (https://github.com/umdigital/umich-events/releases/latest), so updates arrive through the plugin's own updater.
From the readme
UMich Events
Wordpress widget to get and display events from http://events.umich.edu.
Using default options will be slow when requesting data from events.umich.edu. It is highly recommended to use at least one filtering option (featured, ongoing, tags, types, groups, locations) to increase the events request speed.
Features
Widget
Unstyled so you can make it your own as easy as possible
Display event image, caches local resized copy for optimal performance, cached for 7 days
Caches feed for 5 minutes to improve performance
Ability to specify Tags, Groups, & Locations to display events for
Customize event template in your theme
- THEME/umich-events/widget.tpl
- THEME/umich-events/event-widget.tpl
Shortcode
Override templates in your theme
- THEME/umich-events/shortcode.tpl (list of events, loads single event template)
- THEME/umich-events/event-shortcode.tpl (single event)
Shortcode options
| Option | Values | Default |
| ------------ | ----------- | --------------- |
| showimage | 1, 0 | 0 |
| imagesize | string | full |
| featured | 1, 0 | 0 |
| ongoing | 1, 0 |
Read the full README on GitHub →