=== Optimand ===
Contributors: optimand
Tags: calendar, reservations, availability, hotel, booking engine
Requires at least: 6.0
Tested up to: 6.9
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The official Optimand plugin for WordPress and WooCommerce. Includes the Smart Calendar for intelligent scheduling.

== Description ==

The **Optimand** plugin is a dedicated booking interface designed specifically for the hospitality industry. It provides a powerful, local tool to streamline the room reservation process directly from your WordPress site.
The core feature is the **Smart Calendar**: a high-performance availability and rate search tool. This plugin is fully functional and includes all layout templates, custom translations, and granular design options. It allows guests to select dates and room requirements on your site before being redirected to your Booking Engine (BE) URL to complete the reservation.
The plugin supports automatic configuration for 16 major booking engines (Bedzzle, Blastness, Bookassist, Bookingexpert, D-Edge, Ennismore, Ericsoft, Ermes, Guestline, Little Hotelier, Mirai, Sabre Synxis, Simple Booking, Travelclick, Verticalbooking, Web Hotelier) and allows manual configuration for any custom booking URL.

Key Features:
* **Fully Local & Functional:** All styling, templates, and settings work directly within WordPress.
* **Smart Redirect:** Acts as a bridge, sending guests to your Booking Engine with pre-selected dates and guest information.
* **Visual Configurator:** Match the calendar design to your theme by adjusting colors and layouts without touching any code.
* **Multi-language & Currency:** Built-in management for international guests with customizable text strings.
* **Dual Integration:** Use the provided shortcode or trigger the calendar from any existing button via CSS selectors.
* **Multiple Presets:** Create and manage up to 2 different calendar configurations for your site.

== Installation ==

1. Upload the `optimand` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Click on the **Optimand** menu in your dashboard and select **"Add New Smart Calendar"**.
4. Enter a name for your calendar and choose an initial template (you can fully customize the design later).
5. In the configuration panel, enter the **full URL of your Booking Engine**.
6. **Display your calendar:** * Copy and paste the provided **shortcode** onto any page or post.
   * **OR** go to the "Advanced" tab and specify a **CSS Selector** (e.g., `.my-booking-button`). Once saved, clicking any element on your site with that class or ID will launch the Smart Calendar modal.

== Frequently Asked Questions ==

= Does this plugin require an external account? =
No. The plugin is self-contained. All configurations, styling, and calendar logic are handled locally on your WordPress installation.

= Is the plugin sending data to external servers? =
No. The plugin does not connect to any external API. The only external interaction is the client-side redirect to your chosen Booking Engine URL when a guest searches for dates.

= Can I customize the calendar colors? =
Yes. The built-in visual editor allows you to customize every aspect of the calendar design to fit your brand.

== Screenshots ==

1.  **Smart Calendar Preview** - The frontend view of the booking calendar.
2.  **Visual Configurator** - Customize the look and feel of your calendar.
3.  **CSS Selector Setting** - The advanced field where you can define custom triggers for the calendar.

== Upgrade Notice ==

= 1.0.0 =
Initial version of Optimand. Complete the setup in the settings page to start using the Smart Calendar.

== Changelog ==

= 1.0.0 =
* Initial release.
* Full Smart Calendar features included.
* 16+ Booking Engine presets.
* Visual configurator with full styling options.