The ClinicWP Appointment Booking form allows patients to book appointments directly from your website frontend. The form uses a step-by-step process that guides patients through selecting a clinic, department, doctor, date, and time for their appointment.
Prerequisites
Before setting up the booking form, ensure you have:
- At least one active clinic created
- At least one department created
- At least one doctor with surgery hours configured
- Doctor assigned to a clinic and department
- Surgery hours set for the doctor (defines available appointment slots)
Without these prerequisites, the booking form will not display available appointments.
Creating the Booking Page
Step 1: Create a New Page
- Log in to WordPress admin dashboard
- Navigate to
Pages→Add New - Enter a page title (e.g., “Book an Appointment” or “Schedule Your Visit”)
Step 2: Insert the ClinicWP Block
Using the Block Inserter
- Click the
+(Add Block) button in the editor - In the search box, type “ClinicWP” or “Appointment”
- Look for the
ClinicWPsection in the block categories - Click on
ClinicWP Appointment Bookingblock to insert it
Alternative Method: Using Slash Command
- Type
/clinicwpin the editor - Select
ClinicWP Appointment Bookingfrom the suggestions
Step 3: Customize the Block (Optional)
Once the block is inserted, you can customize its appearance using the block settings panel on the right. Available Customization Options:
Step 4: Save and Publish
- Click
Publish(orUpdateif editing an existing page) - Visit the page on the frontend to test the booking form