Hotel WhatsApp Booking
A WordPress Plugin related to booking. This plugin allows you to add a booking form on your hotel site along with the options to choose and then sends the selected options to WhatsApp of the Site owner.
by Ahtisham · github.com/ahtisham-ali-1999/hotel-whatsapp-booking
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ahtisham-ali-1999/hotel-whatsapp-booking/archive/refs/heads/main.zipA lightweight booking form that redirects to WhatsApp with the visitor's selected details. Works anywhere via shortcode; styles blend with Elementor.
Description
Use the shortcode [hotel_booking_form] to render the form. When the visitor presses the button, they are redirected to WhatsApp (web or app) with a prefilled message containing Date, Nights, Adults, Children and Rooms.
Installation
- Upload the plugin zip and activate it.
- Go to Settings → WhatsApp Booking and enter your WhatsApp number (country code + number, digits only).
- Add the shortcode to a page or Elementor Shortcode widget:
[hotel_booking_form]
Settings
- WhatsApp Number (digits only, e.g. 923001234567)
- Message Prefix (first line of the message)
Shortcode Attributes
nights_max(default 30)adults_max(default 10)children_max(default 10)rooms_max(default 10)button_text(default "Check Availability!")
Example: [hotel_booking_form nights_max="20" adults_max="6" button_text="Check Availability!"]
Changelog
1.1.0
- Initial public release.