How do I let people subscribe to my course dates in their calendar from WordPress?
Coursehall puts a "Subscribe to calendar" button above the list of all sessions, and visitors use it to add every upcoming session by webcal, to Google Calendar or as an .ics file. It comes with the free version and is off by default; there is no subscription for a single course.
What you need for it.
Coursehall, free
The free version runs on WordPress 6.5 or later and PHP 8.3 or later.
The list of all sessions
The button sits above the Coursehall schedule block or the [coursehall_schedule] shortcode and nowhere else.
Courses with upcoming sessions
The subscription holds only sessions that are still ahead and not canceled.
You set up the calendar subscription in four steps.
Everything happens under Coursehall, Display.
Add the list of all sessions
Add the Coursehall schedule block or
[coursehall_schedule]to a page. Withcategory="…"the list shows only the sessions of those categories.Switch the subscription on
Under Display, List of all sessions, switch on "Subscribe to calendar". The list of all sessions itself has to stay on there, or the subscription does not answer either.
The button on the page
The list now carries "Subscribe to calendar" with three ways: Subscribe (webcal), Google Calendar and Download file (.ics). If the list shows only some categories, the subscription holds only their sessions.
What reaches the calendar
Each date of a session becomes its own event with the course title, the location and a link to the course page. Names of participants and the access link of an online location are never in it.
What the calendar subscription cannot do.
A subscription for one course
The subscription covers the list of all sessions, narrowed at most to categories. For a single course, the person gets the calendar file in the email once you confirm the registration, with one event per date; if you cancel or move the session, the email to the registered carries a new calendar file.
Past sessions
The subscription holds upcoming sessions only. A session that is over or canceled is missing from it.
The old subscription from The Events Calendar
Since Coursehall 1.2, the old address /events/?ical=1 redirects to this subscription with a 301 when the redirects and the subscription are switched on and The Events Calendar is off. Whether a calendar subscribed to the old feed follows this redirect we have not tested; more under switching and in the post What happens to recurring events when you leave The Events Calendar?
In the live demo
The live demo shows the list of all sessions; the subscription is switched off there.
Read more
Pricing
Coursehall Pro is a one-time purchase for 1 site, 3 sites or unlimited sites, with 12 months of updates.
Support
Requirements, payment and how to add courses to a page.
What happens to recurring events when you leave The Events Calendar?
Recurring events keep their dates after The Events Calendar if you take over the dates your site shows.
How do I set up one course that runs on several dates in WordPress?
A course on three evenings is one booking with several dates, not a recurring event.