Beskrivning
GRT Booking is a lightweight and powerful room reservation plugin. It allows administrators to define available booking periods and provides a frontend form for users to check room availability.
Features:
* Responsive booking form via shortcode [grtbo_booking_form].
* AJAX-powered availability checking.
* Admin settings for minimum/maximum stay.
* Customizable submit button text.
* Date range management for room availability.
* Smart Date Picker: Only admin-defined available dates are selectable in the frontend form.
Usage
-
Admin Configuration:
- Navigate to Settings > GRT Booking.
- Set the Minimum and Maximum stay duration.
- Customize the ”Submit Button Text”.
- Use the ”Availability Management” section to add dates when the room is available.
-
Frontend Display:
- Create a new page or edit an existing one.
- Insert the shortcode:
[grtbo_booking_form] - Publish the page.
Installation
- Upload the
grt-bookingfolder to the/wp-content/plugins/directory. - Activate the plugin through the ’Plugins’ menu in WordPress.
- Go to Settings > GRT Booking to configure the plugin.
- Important: Add availability ranges in the admin settings. The frontend form will NOT allow date selection until availability is defined.
- Use the shortcode
[grtbo_booking_form]on any page or post to display the booking form.
Vanliga frågor
-
How do I add availability?
-
Go to Settings > GRT Booking and use the ”Add Available Date Range” form.
-
Can I customize the form style?
-
Yes, the plugin uses
assets/css/grt-booking.css. You can override these styles in your theme’s CSS.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”GRT Booking” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”GRT Booking” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0.1
- Updated prefix to grtbo across classes, hooks, options, shortcode, AJAX, and DB table.
- Moved inline admin datepicker JS into proper enqueue/inline flow.
1.0.0
- Initial release.