This plugin for WordPress is an extension for the Course Booking System from ComMotion.
Feel free to translate it into your language
- Course Booking System
- Basic-Auth is necessary that the data can be read from the api.
WP-ROOT/wp-content/plugins
- clone in this folder this repository
- Download the zip from the releases
- Go into your WordPress instance and select plugins and then install.
- click on upload plugin
- select the downloaded file
- press now install and afterwords 'Course Booking System Extension'.
You need the id
from an event wp-json/wp/v2/mp-event
. With this event-id
you can load the overview of the
courses: /wp-json/wp/v2/course-booking-system-extension/event/<ID>/courses
. On this you select the course-id
and can
load the info about the course wp-json/wp/v2/course-booking-system-extension/course/<ID>
. The participants you will
get on wp-json/wp/v2/course-booking-system-extension/course/<ID>/date/<DATE:yyyy-mm-dd>
.
Add the shortcode [cbse_event_head_courses pastdays=14 futuredays=1]
to a page or post and in this the overview for
the head of event will be shown. Withpastdays
you can specific how log in the past should be the data shown and
with futuredays
the same for the future.
https://tobier.de/wordpress-plugin-schreiben-mit-composer-und-autoload/
composer update
composer install
composer dump-autoload -o
composer install --no-dev
composer dump-autoload -o --no-dev
Thanks go to the following librarians