Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/ahtisham-ali-1999/hotel-whatsapp-booking/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A 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.