Basic shortcode
[ecs-list-events eventdetails=‘false’]
Shortcode Options
cat
Represents single event category. Use commas when you want multiple categories
[ecs-list-events cat=‘weiterbildung’]
date
To show or hide date. Value can be ‘true’ or ‘false’. Default is true.
[ecs-list-events eventdetails=‘false’]
venue
To show or hide the venue. Value can be ‘true’ or ‘false’. Default is false.
[ecs-list-events venue=‘true’]
excerpt
To show or hide the excerpt and set excerpt length. Default is false.
[ecs-list-events excerpt=‘true’]
[ecs-list-events excerpt=‘300’]
thumb
To show or hide thumbnail/featured image. Default is false.
[ecs-list-events thumb=‘true’]
You can use 2 other attributes: thumbwidth and thumbheight to customize the thumbnail size
[ecs-list-events thumb=‘true’ thumbwidth=‘150′ thumbheight=‘150’]
or use thumbsize to specify the pre-set size to use, for example:
[ecs-list-events thumb=‘true’ thumbsize=‘large’]
message
Message to show when there are no events. Defaults to ‘There are no upcoming events at this time.’
viewall
Determines whether to show ‘Alle Veranstaltungen anzeigen’ or not. Values can be ‘true’ or ‘false’. Default to ‘true’
[ecs-list-events cat=‘festival’ limit=‘3’ order=‘DESC’ viewall=‘false’]
contentorder
Manage the order of content with commas. Defaults to title, thumbnail, excerpt, date, venue
[ecs-list-events cat=‘festival’ limit=‘3’ order=‘DESC’ viewall=‘false’ contentorder=‘title, thumbnail, excerpt, date, venue’]
month
Show only specific Month. Type ‘current’ for displaying current month only or ’next’ for next month, ie:
[ecs-list-events cat=‘festival’ month=‘2015–06’]
past
Show outdated events (ie. events that have already happened)
[ecs-list-events cat=‘festival’ past=‘yes’]
key
Use to hide events when the start date has passed, rather than the end date. Will also change the order of events by start date instead of end date.
[ecs-list-events cat=‘festival’ key=’start date’]
orderby
Used to order by the end date instead of the start date.
[ecs-list-events orderby=‘enddate’]
You can also use this to order by title if you wish:
[ecs-list-events orderby=‘title’]