Description
A lightweight and elegant WordPress plugin to synchronize booking availability from Booking.com and Airbnb using iCal (.ical/.ics) feeds, display available dates on an interactive calendar, and collect reservation inquiries via an integrated contact form.
Key Features
- Automatic iCal Synchronization: Syncs reservations in real-time (with 1-hour caching for optimal performance) from Airbnb and Booking.com.
- Interactive Calendar: An elegant, custom-built calendar (no heavy external dependencies), fully responsive and optimized for mobile devices.
- Smart Stay Selection:
- Prevents selection of date ranges that overlap with existing bookings.
- Supports turnover days: allows check-out on the same day as another guest’s check-in (the first booked date of the next reservation can be chosen as check-out, but not check-in).
- Integrated Inquiry Form: Built-in form collecting Name, Email, Phone, and message, pre-filled with the selected dates.
- Email Notifications: Forwards booking requests directly to the administrator with formatted HTML emails.
- Global Modal Integration: Open the calendar within a modal popup by adding the ID
pwcbc-booking-triggerto any button or link on your website. - Admin Settings Panel:
- Located directly in the main WordPress admin menu under Custom Booking.
- Easy configuration of Airbnb and Booking.com iCal URLs.
- Configurable admin notification email and custom ‘From’ sender details.
- Customizable accent color using the native WordPress Color Picker.
- Manual cache-clearing button for instant synchronization.
- Custom seasonal pricing, special days, and mandatory or optional fixed costs.
Installation
- Upload the plugin folder to the
/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to Custom Booking in the main admin sidebar to configure your iCal URLs and settings.
- Place the shortcode
[pwcbc_calendar]on any page, post, or widget (legacy[custom_booking_calendar]is also supported).
FAQ
How do I use the shortcode?
To display the calendar and booking form on a page, post, or widget, insert the shortcode:
[pwcbc_calendar] (or [custom_booking_calendar])
If you want it to trigger in a modal popup, simply assign the ID pwcbc-booking-trigger to any button or link on your site (e.g. via Elementor, Divi, Gutenberg, or HTML). Legacy ID wp-cb-booking-trigger is also supported.
How often are iCal feeds synced?
Feeds are cached for 1 hour to ensure fast loading times. You can also manually refresh the cache at any time from the plugin settings page.
Changelog
1.0
- Initial public release for WordPress.org directory.
- Sync reservations from Booking.com and Airbnb iCal feeds.
- Interactive responsive booking calendar with turnover day support.
- Dynamic price calculation with seasons, special days, and extra costs.
- Fully internationalized with translatable strings.
