=== WPBookPress ===
Contributors: pyaep
Donate link: https://wpbookpress.com/
Tags: booking, appointments, scheduling, home service, reservation
Requires at least: 5.8
Tested up to: 6.4
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A premium, fast, and modern appointment booking plugin for WordPress. Perfect for salons, consultants, and home-service businesses.

== Description ==

**WPBookPress** is a powerful, modern, and incredibly fast appointment booking plugin designed to streamline scheduling for any service-based business. 

Built with a lightning-fast Single Page Application (SPA) admin dashboard, WPBookPress eliminates frustrating page reloads and offers a beautiful, intuitive interface for managing your business. 

Whether you operate a physical location (like a salon or clinic), provide mobile/home services, or offer a hybrid of both, WPBookPress seamlessly adapts to your workflow.

### 🌟 Key Features

*   **Beautiful Booking Wizard:** A conversion-optimized, step-by-step frontend booking funnel for your customers.
*   **Hybrid Location Support:** Allow customers to choose between "On-Site" appointments at your shop or "Home Service" where you travel to them.
*   **Smart Availability Engine:** Automatically calculates available time slots based on service duration, staff working hours, breaks, and existing bookings to guarantee zero double-bookings.
*   **"Any Available Staff" Option:** Let customers skip picking a specific provider, automatically finding the first available time slot.
*   **Lightning Fast Admin SPA:** Manage services, staff, and bookings instantly. The backend dashboard is a fluid, React-like experience with zero page reloads.
*   **Advanced Staff Schedules:** Set granular working days, start/end times, and custom break periods for every individual staff member.
*   **Contact Info Sync:** Easily add your business address, hotline, and social media links (Facebook, Instagram, Twitter/X) in the settings, and they will automatically display beautifully on the frontend booking widget.
*   **Booking Management:** View all appointments, check full details in a quick popup modal, and update booking statuses (Pending, Confirmed, Completed, Cancelled) on the fly.

### 🚀 Built for Performance
WPBookPress doesn't slow down your WordPress admin. Built with a modern architecture, it relies on custom REST API endpoints to save and load data asynchronously, providing a true SaaS-like experience directly inside your WordPress dashboard.

== Installation ==

1. Upload the `wpbookpress` folder to the `/wp-content/plugins/` directory, or install the plugin directly through the WordPress plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Navigate to the newly created **WPBookPress** menu in your admin dashboard.
4. Go to **Settings** to configure your business details, currency, and contact links.
5. Create your **Services** and add your **Providers** (along with their schedules).
6. Use the shortcode `[wpbookpress_booking_form]` on any page or post to display the booking wizard!

== Frequently Asked Questions ==

= Does this support Home Services or Mobile Businesses? =
Yes! In the settings, you can toggle "Enable Home Service". Customers will then be asked if they want to meet at your location or have you travel to theirs. If they choose Home Service, they will be prompted to enter their physical address.

= Can I set different working hours for different staff members? =
Absolutely. In the Providers tab, you can set specific working days, start times, end times, and break times for each individual staff member.

= Will this double-book my staff? =
No. The WPBookPress availability engine mathematically calculates available slots by checking the service duration against the staff member's working hours, ensuring that overlapping appointments are physically impossible.

= How do I display the booking form? =
Simply paste the shortcode `[wpbookpress_booking_form]` into any WordPress page, post, or widget area.

== Screenshots ==

1. The modern frontend booking wizard.
2. The lightning-fast admin dashboard and statistics.
3. Advanced provider schedule and break management.
4. Instant booking management and status updates.

== Changelog ==

= 1.0.0 =
* Initial release of WPBookPress!
* Added Frontend Wizard with smart availability.
* Added Admin Dashboard.
* Added Hybrid Location (On-site / Home Service) support.
* Added complete Provider scheduling engine.
