CHRONOSLY SHORTCODES
WordPress shortcodes are defined as a simple set of functions for creating macro codes to be used in post content.
It enables plugin developers to create special kinds of content (e.g. forms, content generators) that users can attach to certain pages by adding the corresponding shortcode into the page text.
Chronosly shortcode works using this code:
Check shortcode most common mistakes 
as many params as you want from this list.
'type' => 'calendar', //type: allowed calendar, event, organizer, place, category 'upcoming' => 0, //upcoming: set days period for upcoming events. "year" => date("Y"), //year: for filtering event list or show calendar year, format Y "month" => 0, //month: for filtering event list or show calendar month, format m "week" => 0, //week: for filtering event list or show calendar week, format W "day" => 0, //day: for filtering event, format Y-m-d 'id' => 0, //id: for individual reference of elements, coma separated. if type is category the id is the category name not tag_id. 'author' => 0, //filtered by author id 'exclude' => 0, //id of excluded elements, coma separated 'single' => 0, //set if we want to show the single or archive view, not allowed on calendar view. 'count' => 10, //number of results 'navigation' => 0, //set to show navigation on top 'pagination' => 0, //set to show pagination on bottom 'category' => 0, //filter by specific categories,coma separated 'organizer' => 0, //filter by specific organizers, coma separated 'place' => 0, //filter by specific places, coma separated. 'small' => 0, //set 1 if your width is smaller than 450px like sidebar. 'template' => 'default', //set template name. 'featured' => yes/no //set to show only featured events or just normal.
Shortcodes details and examples for each available section can be found below:
EVENTS
There are 2 different views to show Chronosly events:
- Event list view (can include featured and normal events)
- Single event view (landing page for an event)
1. Event list view you cant use this shortcode
This Event List Shortcode can use the following PARAMETERS. Note: if any parameter is included within the shortocode, event list will be shown following Chronosly settings configurations.
"year" => date("Y"), //year: for filtering event list or show calendar year, format Y
"month" => 0, //month: for filtering event list or show calendar month, format m
"week" => 0, //week: for filtering event list or show calendar week, format W
"day" => 0, //day: for filtering event, format Y-m-d
'id' => 0, //id: for individual reference of elements, coma separated. if type is category the id is the category name not tag_id.
'exclude' => 0, //id of excluded elements, coma separated
'count' => 10, //number of results
'navigation' => 0, //set to show navigation header
'category' => 0, //filter by specific categories,coma separated
'organizer' => 0, //filter by specific organizers, coma separated
'place' => 0, //filter by specific places, coma separated
'small' => 0, //set 1 if your width is smaller than 400px like sidebar
'featured' => yes/no //set to show only featured events or just normal
Here are some examples for the most used event list shortcodes parameters:
Note: The following parameter examples can be combined with each other. Is important to combine them with sense
- Show an UPCOMING DAYS EVENT LIST start from today. 10 upcoming days event list (upcoming days can be any positive number)
- Show event list from A PARTICULAR MONTH. Event list for August (just set month number)
- Show event list from A PARTICULAR DAY. Event list for November 21th 2014 (just set day number as your settings format)
There are other parameters for day, week, month and year that allows you to show upcoming or past events.
- Show event list from TODAY, THIS WEEK, MONTH OR YEAR. (Default event order is descending: from earliest to latest) Event list for today
Event list for this week
- Show event list from YESTERDAY, LAST WEEK, MONTH OR YEAR. (Default event order is descending: from earliest to latest) Event list for yesterday
Event list for last month
Event list for all past events
- Show event list FILTERED BY CATEGORIES.
- use category tag_id to set categories
- separate different categories by commas
(Default event order is descending: from earliest to latest)
Event list for categories 1, 4 and 7.
- Show event list FILTERED BY ORGANIZERS.
- use organizer tag_id to set organizers
- separate different organizers by commas
(Default event order is descending: from earliest to latest) Event list for organizers 1 and 3
- Show event list FILTERED BY PLACES.
- use place tag_id to set places
- separate different places by commas
(Default event order is descending: from earliest to latest) Event list for places 2 and 3
- SHOW SPECIFIC EVENTS.
- use event tag_id to set events
- separate different events by commas
Event list for events 3, 7 and 24
- EXCLUDE SPECIFIC EVENTS.
- use event tag_id to set events
- separate different events by commas
Event list for ALL events except events 3, 7 and 24
PARAMETERS THAT ONLY AFFECT PAGE AND EVENT STYLE
- SHOW CALENDAR AND TITLE NAVIGATION
- navigation parameter is always "1"
Event list with top navigation linked to Title and Calendar
- SHOW PAGINATION
- pagination parameter is always "1"
Event list with pagination (previous - next event list page)
- SHOW EVENTS FOR NARROW PAGES (WIDTH UNDER 400px)
- small parameter is always "1"
Event list adapted to narrow pages
- SHOW ONLY FEATURED/NORMAL EVENTS
- featured parameter is "yes" only display Featured events
- featured parameter is "no" only display Normal events
Event list with only Featured events
Event list with only Normal events
2. SINGLE EVENT PAGE - SHOW SINGLE EVENT PAGE FOR A SPECIFIC EVENT

- single parameter is always "1"
- only insert one event tag_id per shortcode
Single event page for event 24
ORGANIZERS
There are 2 different views to show Chronosly organizers:
- Organizer list view (can include featured and normal organizers)
- Single organizer view (landing page for an organizer)
1. Organizer list view you cant use this shortcode

- SHOW SPECIFIC ORGANIZERS.
- use organizer tag_id to set organizers
- separate different organizers by commas
Organizer list for Organizers 1, 3 and 4
- EXCLUDE SPECIFIC ORGANIZERS.
- use organizer tag_id to set organizers
- separate different organizers by commas
Organizer list excluding Organizers 1, 3 and 4
2. SINGLE ORGANIZER PAGE
- SHOW SINGLE ORGANIZER PAGE FOR A SPECIFIC ORGANIZER

- single parameter is always "1"
- only insert one organizer tag_id per shortcode
Single organizer page for Organizer 3
PARAMETERS THAT ONLY AFFECT PAGE AND ORGANIZER STYLE
- SHOW CALENDAR AND TITLE NAVIGATION
- navigation parameter is always "1"
Organizer list with top navigation linked to Title and Calendar
- SHOW ORGANIZERS FOR NARROW PAGES (WIDTH UNDER 400px)
- small parameter is always "1"
Organizers list adapted to narrow pages
PLACES
There are 2 different views to show Chronosly places:
- Places list view (can include featured and normal places)
- Single place view (landing page for an place)
1. Place list view you cant use this shortcode

- SHOW SPECIFIC PLACES.
- use place tag_id to set places
- separate different places by commas
Places list for Places 1, 3 and 4
- EXCLUDE SPECIFIC PLACES.
- use place tag_id id to set places
- separate different places by commas
Places list excluding Places 1, 3 and 4
2. SINGLE PLACE PAGE
- SHOW SINGLE PLACE PAGE FOR A SPECIFIC PLACE

- single parameter is always "1"
- only insert one place tag_id per shortcode
Single place page for Place 3
PARAMETERS THAT ONLY AFFECT PAGE AND PLACE STYLE
- SHOW CALENDAR AND TITLE NAVIGATION
- navigation parameter is always "1"
Place list with top navigation linked to Title and Calendar
- SHOW PLACES FOR NARROW PAGES (WIDTH UNDER 400px)
- small parameter is always "1"
Places list adapted to narrow pages
CATEGORIES
There are 2 different views to show Chronosly catrgories:
- Category list view (all categories and 3 events per category)
- Single category view (all events from one category)
1.Category list view you cant use this shortcode
- SHOW SPECIFIC CATEGORY.
Category list for Categories 1, 3 and 4
2. SINGLE CATEGORY PAGE
- SHOW SINGLE CATEGORY PAGE FOR A SPECIFIC CATEGORY
- single parameter is always "1"
- only insert one category per shortcode
Single category page for Category 3
PARAMETERS THAT ONLY AFFECT PAGE AND CATEGORY STYLE
- SHOW CALENDAR AND TITLE NAVIGATION
- navigation parameter is always "1"
Category list with top navigation linked to Title and Calendar
- SHOW CATEGORIES FOR NARROW PAGES (WIDTH UNDER 400px)
- small parameter is always "1"
Organizers list adapted to narrow pages
CALENDARS
There are 3 different views to show Chronosly calendars:
- Calendar Year view
- Calendar Month view
- Calendar Week view
Remember, if year, month, week is specified the calendar stays fixed for the specification.
If you want to show always the current year,month, week , use current on the parameter value.
1 - CALENDAR YEAR VIEW
- year parameter uses year set in number or current for current year
Calendar year view for 2014
Calendar year view for current year
2- CALENDAR MONTH VIEW
- month parameter uses month number or current for current month
Calendar month view for August
Calendar month view for current month
3- CALENDAR WEEK VIEW
- week parameter uses week number or current for current week
Calendar week view for week 39
Calendar week view for current week
Using the above shortcodes examples, with "year", "month" and "week", you can combine with other parameters used in sections for Events, Organizers and Places For example, you can filter by some specific events, organizers or places
- SHOW CALENDAR FILTERED BY DIFFERENT PARAMETERS
- use event, organizer, place, and category tag_id
- separate different elements by commas
Calendar year view for 2014 and only shows events 1, 6 and 194
Calendar year view for 2014 and only shows events for organizers 1 and 3
Calendar month view for August and only shows events for places 1 and 3
Calendar week view for 55th week and exclude events 1 and 3
TEMPLATES
From Chronosly update 2.0 template shortcode was launched.
Use this basic Template shortcode to set different templates in different pages.
For events:
Remember, set your_template_name as is shown in Chronosly. You can easily find your template names going to Templates status section:
Chronosly > Templates status
NOTE: The following parameter examples can be combined with each other, for example for organizers, places, calendar etc... Is important to combine them with sense
For organizers:
For Default template:
Grid template:
or if you have cloned a template and saved as my_cloned_template: