=== Sacconi iCal Sync – Advanced Calendars for Holiday Rentals ===
Contributors: Sacconi
Tags: ical sync, holiday rental, availability calendar, airbnb sync, booking calendar
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Professional availability calendars for vacation rentals. Features advanced iCal intersection logic and beautiful diagonal check-in/out display.

== Description ==

Sacconi iCal Sync is the ultimate tool for vacation rental owners and agencies who need a reliable, fast, and beautiful way to manage availability. 

Unlike standard booking calendars, our plugin is built on a custom SQL engine that ensures maximum performance even with hundreds of properties. 

**Native WordPress Integration**
No more manual configuration of date formats or week starts. Sacconi iCal Sync automatically inherits your WordPress general settings. If your site starts the week on Sunday or uses dots instead of slashes for dates, the calendar adapts instantly.

**The Visual Advantage**
We believe that check-in and check-out days should be clear. That's why even our FREE version includes our signature **diagonal half-day display**, allowing your guests to see exactly when a property becomes available.

**The Pro Power: iCal Intersection**
Do you manage a villa that can be rented as a whole or as separate rooms? Our Pro version features a unique **Intersection Logic**. Link up to 15 different iCal feeds: a date will be marked as "occupied" only when ALL linked calendars are booked. No more manual merging or overbooking risks!

= Free Version Features =
* Manage 1 Property/Calendar.
* Manual date entry with a simple backend interface.
* Beautiful Frontend display (up to 3 months on desktop).
* Signature Diagonal Check-in/out graphics.
* Ultra-fast SQL-based performance.
* Fully Responsive & Mobile friendly with touch/swipe support.
* Global Ready: Automatically follows site language and date settings.

= Pro Version Features =
* **Unlimited Properties:** Manage your entire portfolio.
* **Two-Way iCal Sync:** Import from Airbnb, Booking.com, VRBO and more.
* **iCal Export:** Sync your WordPress manual bookings back to external portals.
* **Advanced Intersection:** Merge up to 15 iCal feeds for complex property management.
* **Automatic Updates:** Hourly background synchronization (Cron Job).
* **Search API:** Easily integrate availability filters into your custom search results.
* **Full Customization:** Change colors, shapes (circles or squares), and fonts to match your theme.

== Installation ==

1. Upload the `sacconi-ical-sync` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to 'Sacconi Sync' in your admin sidebar to configure your global settings.
4. Use the shortcode `[sacconi_calendar]` inside any post or page.

== Frequently Asked Questions ==

= Does it work with any theme? =
Yes! We use a custom PHP/CSS engine that doesn't rely on heavy libraries. It is tested with Astra, OceanWP, ColorMag and the latest WordPress block themes.

= Can I use it for more than one house for free? =
The Free version is limited to 1 property. For unlimited houses and automatic iCal sync, please upgrade to the Pro version.

= How do I translate the calendar? =
The plugin is fully compatible with Loco Translate. You can translate "Availability" or "Calendars" in seconds.

== Screenshots ==

1. The beautiful frontend calendar with diagonal check-in/out display.
2. Backend management with easy manual date entry and iCal integration.
3. The Settings page where you can customize colors, fonts and shapes.

== Changelog ==

= 1.1.0 =
* Feature: Added dropdown month selector for easier navigation and jumping to specific months.

= 1.0.9 =
* Bug fix: Resolved an issue with multiple iCal links overlapping (changed intersection to merge).

= 1.0.3 =
* New: Automatic synchronization with WordPress general settings (Start of Week and Date Format).
* New: Dynamic backend localization based on user profile language.
* Fixed: Color picker visibility on minimal custom themes.
* Fixed: CSS grid layout to prevent sidebar overlapping on narrow themes.
* Fixed: iCal export date format for better compatibility with external portals.

= 1.0.2 =
* Added iCal Export link for Airbnb/Booking synchronization.
* Integrated Freemius licensing system.
* Improved AJAX navigation.

= 1.0.1 =
* Refined iCal intersection logic and "Valvola di Sicurezza" for reliable sync.

= 1.0.0 =
* Initial release.
* Custom SQL engine for availability.
* AJAX navigation and swipe support.