=== BookItIn ===
Contributors: babrisoftware
Tags: appointments, booking, calendar, scheduling, reservations
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Integrate BookItIn appointment booking into your WordPress site. Embed booking calendars and let clients book directly on your website.

== Description ==

BookItIn is a powerful appointment booking solution that makes it easy for your clients to schedule appointments directly on your WordPress site.

= Third-Party Service =

This plugin connects to [BookItIn](https://bookitin.app), an external appointment booking service, to provide its functionality. The plugin requires a BookItIn account to operate.

**When you use this plugin, data is sent to BookItIn servers:**

* When connecting your WordPress site to BookItIn (OAuth authentication)
* When displaying the booking widget (iframe embed from bookitin.app)
* When syncing WordPress users to BookItIn (user email, name)

**Relevant BookItIn links:**

* Service: [https://bookitin.app](https://bookitin.app)
* Terms of Service: [https://bookitin.app/terms](https://bookitin.app/terms)
* Privacy Policy: [https://bookitin.app/privacy](https://bookitin.app/privacy)

= Features =

* **One-Click Connection** - Connect your WordPress site to BookItIn with a single click
* **Embeddable Booking Widget** - Add a booking calendar to any page or post using a simple shortcode
* **WordPress Admin Dashboard** - Access your BookItIn dashboard directly from WordPress admin
* **User Sync** - Automatically sync WordPress users as BookItIn clients (coming soon)
* **Responsive Design** - Booking widget works beautifully on all devices

= How It Works =

1. Install and activate the plugin
2. Go to Settings → BookItIn
3. Click "Connect to BookItIn" to authorize your account
4. Add the `[bookitin]` shortcode to any page or post
5. Your clients can now book appointments directly on your site!

= Shortcode Options =

The `[bookitin]` shortcode supports the following attributes:

* `calendar` - Show a specific calendar by ID or slug
* `width` - Widget width (default: 100%)
* `height` - Widget height (default: 600px)
* `class` - Additional CSS classes for styling

Example: `[bookitin calendar="haircuts" height="800px"]`

= Requirements =

* WordPress 6.0 or higher
* PHP 8.0 or higher
* A BookItIn account ([sign up free](https://bookitin.app/register))

== Installation ==

= Automatic Installation =

1. Go to Plugins → Add New in your WordPress admin
2. Search for "BookItIn"
3. Click "Install Now" and then "Activate"
4. Go to Settings → BookItIn to connect your account

= Manual Installation =

1. Download the plugin ZIP file
2. Go to Plugins → Add New → Upload Plugin
3. Choose the ZIP file and click "Install Now"
4. Activate the plugin
5. Go to Settings → BookItIn to connect your account

== Frequently Asked Questions ==

= Do I need a BookItIn account? =

Yes, you need a BookItIn account to use this plugin. You can [sign up for free](https://bookitin.app/register).

= Is there a free plan? =

Yes! BookItIn offers a free plan that includes all the essential features you need to get started with online booking.

= Can I customize the booking widget appearance? =

The booking widget inherits styling from your BookItIn dashboard settings. You can also add custom CSS classes using the shortcode's `class` attribute.

= Does it work with WooCommerce? =

Currently, the plugin works independently. WooCommerce integration for payment processing is planned for a future release.

= How do I get support? =

Visit [bookitin.app/support](https://bookitin.app/support) for documentation and support options.

== Screenshots ==

1. Plugin settings page with connection options
2. Booking widget embedded on a WordPress page
3. BookItIn dashboard accessed from WordPress admin

== Changelog ==

= 1.0.0 =
* Initial release
* One-click OAuth connection to BookItIn
* [bookitin] shortcode for embedding booking widgets
* Admin dashboard iframe
* Settings page with connection management
* Shortcode documentation

== Upgrade Notice ==

= 1.0.0 =
Initial release of BookItIn WordPress plugin.
