=== HAQ Booking ===
Contributors: husainahmedqureshi
Tags: booking, appointment, calendar, scheduling, reservations
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Appointment booking for WordPress with services, staff, calendar, a front-end booking form and email notifications.

== Description ==

HAQ Booking turns your WordPress site into an appointment booking system. Everything runs inside this plugin — no theme dependency and no required companion plugins.

= Features =

* Create services with duration, price and status
* Manage staff, working hours, breaks and assigned services
* Customer records with booking history
* Appointment list and admin calendar
* Availability engine with open time slots
* Mobile-friendly booking form via shortcode `[haq_booking]` or Gutenberg block
* Email confirmation, cancellation and reschedule notices
* Customer cancel and reschedule via secure token links
* GDPR export / erase personal data support

= Shortcode =

Place this shortcode on any page:

`[haq_booking]`

Or insert the **HAQ Booking** block in the editor.

= Optional extensions =

An optional commercial add-on can extend HAQ Booking with messaging, payments and calendar sync. The free plugin works fully on its own.

= Privacy =

The plugin stores customer name, email, phone, optional messaging number, appointment details and related notes in your WordPress database. The free plugin does not send data to third-party APIs.

== Installation ==

1. Upload the `haq-booking` folder to `/wp-content/plugins/`, or install through the Plugins screen.
2. Activate the plugin.
3. Go to **HAQ Booking → Settings** and set your business name and notification email.
4. Add services and staff under **HAQ Booking**.
5. Place the `[haq_booking]` shortcode on a page, or insert the HAQ Booking block.
6. In **Settings**, select that page as the Booking page (needed for cancel/reschedule email links).

== Frequently Asked Questions ==

= Does this require a specific theme? =

No. It works with any standard WordPress theme.

= Where is data stored? =

In custom tables in your WordPress database (`wp_haqb_*`).

= Can customers cancel or reschedule? =

Yes. Confirmation emails include a secure manage link when a booking page is configured in Settings.

= Does the free plugin send WhatsApp messages? =

No. Messaging integrations, if any, are provided only by optional add-ons and require your own provider credentials.

== Screenshots ==

1. Front-end booking form
2. Admin dashboard
3. Services management
4. Staff availability
5. Appointments calendar
6. Plugin settings

== Changelog ==

= 1.1.0 =
* WordPress.org packaging and structure cleanup.
* Renamed display name to HAQ Booking for clearer free-plugin scope.
* Server-rendered services on the booking form for more reliable loading.
* Improved Settings admin UI.
* Fixed asset URL scheme handling and REST fallback for local/https setups.
* Daily maintenance cron now flushes plugin object-cache groups.
* Softened optional add-on mentions for directory guidelines.
* Regenerated translation template.

= 1.0.3 =
* Settings UI sections and sticky save bar.
* Admin CSS shared with Pro screens when present.

= 1.0.2 =
* Booking form reliability fixes (inline config, relative assets).

= 1.0.1 =
* Empty/error states for the public booking form.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.1.0 =
Recommended update before submitting or distributing the plugin. Includes packaging, naming and booking-form reliability improvements.
