چۈشەندۈرۈش
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.
ئورنىتىش
- 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.
FAQ
-
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.
باھالاشلار
بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.
تۆھپىكار ۋە ئىجادكار
«GRT Booking» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.
تۆھپىكار«GRT Booking» نى تىلىڭىزغا تەرجىمە قىلىڭ
ئىجادىيەتكە قىزىقامسىز؟
كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.
ئۆزگىرىش خاتىرىسى
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.