Other Builders
If you’re not using Elementor or Gutenberg, you can still add the booking form to your WordPress website by adding the following shortcode:
[trafftbooking min-height=500]
This is the default shortcode, and you can change the value of “min-height” so it fits your screen better. If you want to use the predefined parameters, as in Gutenberg or Elementor, you can use these codes:
- To show the booking form with “Category 1” predefined:
[trafftbooking category=1 min-height=500]
[trafftbooking service=3 min-height=500]
[trafftbooking employee=employeeName-employeeLastname min-height=500]
[trafftbooking service=2 min-height=500]
You can combine these parameters, but bear in mind what we already mentioned before – if you, for example, select “Employee 1” and “Location 3”, but the employee doesn’t cover “Location 3”, the booking form won’t show any available time slots.
That’s it. Once you save/update the page, you will see the booking form on the front: