Events shortcode displays multiple events on a single page.
Syntax:
[events]
Basic parameters:
- cat_name – category_name
- tag – Comma separated values: tag1,tag2 To exclude tags use ‘-‘ minus: -mytag will exclude tag ‘mytag’
- limit – Number of elements
- class – Custom class for single box
Advanced parameters:
- s – Show item with certain keyword
- cat – Categories Ids (Comma separated values: 2,3,5. To exclude catgories use ‘-‘ minus: -2 will exclude category 2)
- author_name – Author name
- author – Authors Ids (Comma separated values: 2,3,5. To exclude certain authors use ‘-‘ minus: -2 will exclude author 2)
- slug – Eventslug
- notids – Exclude event ID
- id – Event ID
Component working example with limit parameter:
[events limit=”4″]