If you need to insert (embed) your event list, calendar, and other Chronosly elements you can use Chronosly shortcodes.
There are shortcodes available for all Chronosly elements with the exception Categories (at the moment not available):
Shortcodes - Most common mistakes
There are some common mistakes that you should avoid when inserting shortcodes into your pages. First is related with quotation marks ", and second with date range.
1. QUOTATION MARKS
2. DON'T USE HTML CODE IN SHORTCODES
Is quite common that if you copy paste shortcode from FAQ, sometimes WordPress also copy html code that shouldn't be inserted in your page.
You should insert just plain text, if not, html code would be also included. This example below shows a shortcode that include html tags <pre> and </pre>:
How to check if shortcode include html code
To check if shortcode is correctly inserted just shift your page setup display from "Visual" to "Text" and it shouldn't include html tags e.g. <pre> <em> <strong>
After copying a shortcode for Chronosly Shortcode page:
In "Visual" view (top right corner), if shortcode is pasted during page set up, it could seem it's correct, but html tags are hidden:
In "Visual" view, just check left bottom corner, where you can find hidden tags, in this case there are <pre> html tags.
Switching to "Text" view (top right corner) <pre> or other html tags are displayed.
Just delete all those html tags that create shortcode misfunctions.
3. EVENT DATE- TIME RANGE
If you insert a shortcode without forcing any date range as this one:
shortcodes will display same format you set in Chronosly settings tab.
(Chronosly > Settings > Events display section)
So, if shortcode displays "NO EVENTS FOUND" probably current data range (month view is set by default) has no events.
There are 2 different ways to avoid your event list don't find events or calendars display your default format (year, month, week...)
3.1 Force date within shortcode
We highly recommend using UPCOMING parameter and a day range you want to display (upcoming days can be any positive number, e.g 30 for one month):
[chronosly type="event" upcoming="30"]
If you force a date like month, year, week within each shortcode it will remain static, because you will have to change it when it expires.
[chronosly type="event" month="8"]
3.2 Force date within settings
You can set different event list display (check how to set event list display - FAQ) like year view or Upcoming events (days you want to show e.g 90 days for 3 months in advance).
- Go to Chronosly > Settings > Events display section
- Set wished option in Main event list display
3.2.1 HOW TO SET UPCOMING EVENTS*
This is most versatile option and allow you to display as many events (in days) as you wish.
- Set "UPCOMING" option in Main event list display
- Set number of DAYS range to show all your events