Event Slider add-on
This extension provides a Pure CSS slider for The Events Calendar plugin.
Compatibility
Currently, this add-on supports the free Events Calendar plugin, not including features from the Events Calendar PRO yet (for example, hiding multiple recurring events occurrences is not a feature yet ).
Requirements
- The Events Calendar, version 6.x
How to use it
Install and activate the add-on. Then, the [events_slider] shortcode will be available to create Slides with your events.
Keep reading that article to learn the accepted parameters and see a screenshot at the end showing how to use the shortcode and what it looks like.
Shortcode Parameters (attributes):
Note: The default values will be used when no custom value is added to the shortcode
‘posts_per_page’
Number of events to display.
Default value: 5
‘tag’
Filter events by Tags
Default value: none
‘category’
Filter events by Event Categories.
Default value: none
‘height’
Slider height (in pixels).
Accepts numbers only (so you don’t need to add px at the end, but only the numeric value)
Default value: 480
‘width’
Slider width (in pixels).
Accepts numbers only (so you don’t need to add px at the end, but only the numeric value)
Default value: 640
‘dots’
Let you decide if you want to show dots navigation or not.
Accepts values ‘true’ or ‘false’
Default value – true
‘color1’
Define the main color.
Accepts hexadecimal colors. Don’t forget to include the # at the beginning!
Default value – #00000
‘color2’
Define the secondary color.
Accepts hexadecimal colors only. Don’t forget to include the # at the beginning!
Default value – #FFFFFF