Calendertests

Basic shortcode

[ecs-list-events eventdetails=‘false’]

Shortcode Options

cat

Repres­ents sin­gle event cate­go­ry. Use com­mas when you want mul­ti­ple categories

[ecs-list-events cat=‘weiterbildung’]

date

To show or hide date. Value can be ‘true’ or ‘fal­se’. Default is true.

[ecs-list-events eventdetails=‘false’]

venue

To show or hide the venue. Value can be ‘true’ or ‘fal­se’. 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 attri­bu­tes: thumb­width and thumbh­eight to cus­to­mi­ze the thumb­nail size

[ecs-list-events thumb=‘true’ thumbwidth=‘150′ thumbheight=‘150’]

or use thumb­si­ze to spe­ci­fy the pre-set size to use, for example:

[ecs-list-events thumb=‘true’ thumbsize=‘large’]

message

Mes­sa­ge to show when the­re are no events. Defaults to ‘The­re are no upco­ming events at this time.’

viewall

Deter­mi­nes whe­ther to show ‘Alle Ver­an­stal­tun­gen anzei­gen’ or not. Values can be ‘true’ or ‘fal­se’. Default to ‘true’

[ecs-list-events cat=‘festival’ limit=‘3’ order=‘DESC’ viewall=‘false’]

contentorder

Mana­ge the order of con­tent with com­mas. Defaults to title, thumb­nail, excerpt, date, venue

[ecs-list-events cat=‘festival’ limit=‘3’ order=‘DESC’ viewall=‘false’ contentorder=‘title, thumb­nail, excerpt, date, venue’]

month

Show only spe­ci­fic Month. Type ‘cur­rent’ for dis­play­ing cur­rent month only or ’next’ for next month, ie:

[ecs-list-events cat=‘festival’ month=‘2015–06’]

past

Show out­da­ted events (ie. events that have alre­a­dy happened)

[ecs-list-events cat=‘festival’ past=‘yes’]

key

Use to hide events when the start date has pas­sed, rather than the end date. Will also chan­ge the order of events by start date ins­tead of end date.

[ecs-list-events cat=‘festival’ key=’start date’]

orderby

Used to order by the end date ins­tead 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’]