The easy way to create powerful booking forms for WordPress websites.
The WP Time Slots Booking Form plugin has both built-in shortcodes and add-ons to display different lists of bookings into the frontend pages of the website.
The first type of lists are classic lists that can be displayed by using this shortcode in the page where you want to display the list:
... it can be also customized with some parameters if needed, example:
[CP_TIME_SLOTS_BOOKING_LIST from="today" to="today +30 days" fields="DATE,TIME,email" calendar="1"]
... the "from" and "to" are used to display only the appointments / bookings on the specified period. That can be either indicated as relative days to "today" or as fixed dates.
The styles for the list are located at the end of the file "css/stylepublic.css" but you can easily overwrite them from the CSS customization area:
.cpabcfield0, .cpabcfield1, .cpabcfield2, ...
The result will be a list like the following:
The other type of lists are lists of bookings grouped by the booking date, this way the schedule can be easier to read. This type of bookings will look like in the following image:
To get this type of grouped list the first step is to enable the "Frontend List: Grouped by Date Add-on" in the list of addons:
When done go to the booking form settings and into the "add-ons" step you can copy the shortcode to display the list. Just copy & paste that shortcode into a post or page:
The shortcode has the following attributes to customize the list:
- calendar: The ID of the booking form to lists its bookings
- datelabel: The label used for the date. Remember that the bookings will be grouped by date in this type of list, adding the date to the top of the group.)
- columnlabels: Labels for the different data columns in the list.
- columns: Data columns in the list. You can get the fields ID into the form builder to select exactly which info display into the list.
In addition to that the list styles/colors can be customized using the CSS styles referred into the add-on settings.
Feedback about these features will be welcome, feel free to open a support ticket for any question.