How to easily display all upcoming courses or only selected course groups on the website
Display selected course groups
- Go to YOGO admin --> 'Course Groups'.
- Copy the ID from the course group you want to display.
- Go to your website and find the page where the schedule should be displayed.
Wordpress:
To display only the course group you just copied the ID for, use the following shortcode:
[yogo-events event-group="xxxx"]
Replace 'xxxx' with the ID you just copied.
If you want to display multiple selected course groups one below the other, copy the code and insert a new one on a new line with the other ID.
To display all upcoming courses, use the following shortcode:
[yogo-events]
Other website platforms such as Squarespace, Wix, etc.
To display only the course group you just copied the ID for, use the following code:
<div class="yogo-events" data-event-group="xxxx"></div>
Replace 'xxxx' with the ID you just copied.
If you want to display multiple selected course groups one below the other, copy the code and insert a new one on a new line with the other ID.
To display all upcoming courses, use the following code:
<div class="yogo-events"></div>