GRT Booking

Apraksts

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

  1. 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.
  2. Frontend Display:

    • Create a new page or edit an existing one.
    • Insert the shortcode: [grtbo_booking_form]
    • Publish the page.

Uzstādīšana

  1. Upload the grt-booking folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings > GRT Booking to configure the plugin.
  4. Important: Add availability ranges in the admin settings. The frontend form will NOT allow date selection until availability is defined.
  5. Use the shortcode [grtbo_booking_form] on any page or post to display the booking form.

BUJ

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.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“GRT Booking” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “GRT Booking&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

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.