=== Liora ===
Contributors: boonesoftware
Tags: events, calendar, event calendar, recurring events, rsvp
Requires at least: 6.5
Tested up to: 7.0
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A modern, lightweight events calendar with recurring events, responsive displays, RSVP, and extensibility.

== Description ==

Liora is an events calendar plugin built as a practical alternative to Sugar Calendar and The Events Calendar. The free edition remains usable without a license. Premium is available with an annual updates-and-support license or a lifetime license, and installed Premium functionality is never disabled when a license expires.

**Core features (free)**

* **Recurring events** — daily, weekly, monthly, and yearly rules with an end date or occurrence count. Performance-optimized via a materialized occurrences table.
* **Calendar block** — month, week, day, and list views with a taxonomy filter bar and live search. Drop it on any page with the block editor.
* **Events List block** — a compact upcoming-events list with featured image thumbnails, excerpt, and a "load more" button.
* **Venue CPT** — reusable locations with address, city, and interactive Leaflet maps (OpenStreetMap tiles, no API key).
* **Event categories and tags** — with color-coded categories visible on the calendar.
* **Basic RSVP** — name, email, and quantity. Duplicate prevention, PRG redirect, and a capacity toggle.
* **Appointment booking** — a Cal.com-style scheduling widget. Services, multi-staff hosts, weekly hours, time off, and calendar interop, with a booking block and email confirmations.
* **iCal download** — single-event `.ics` file download for any event.
* **Add to Calendar** — Google Calendar quick-add link on every event.
* **Shortcodes** — `[liora_events_list]`, `[liora_calendar]`, and `[liora_booking]` as fallbacks when blocks aren't available.
* **REST API** — `/wp-json/liora/v1/events` for headless or custom front-ends.
* **SEO structured data** — schema.org Event JSON-LD on single event pages and event lists, eligible for Google event rich results. Venue address and map coordinates included automatically. No SEO plugin required.

**Premium features**

* Speaker / Performer CPT with archive page
* Category color picker UI
* RSVP capacity limits with 85 %+ capacity warnings
* RSVP admin dashboard — search, stats cards, check-in toggle, CSV export
* RSVP email notifications — attendee confirmation and admin alert (fully filterable)
* Booking admin dashboard — appointment search, stats, and CSV export
* Rich booking confirmation emails with `.ics` calendar attachments
* Round-robin host assignment and per-host calendar interop for appointments
* Frontend event submission form (`[liora_submit_event]`) — public draft submissions
* Subscribable iCal feed (`?liora_ical=feed`)
* Full Add to Calendar panel — Google, Outlook, Yahoo, and Apple/iCal
* Beta TEC (The Events Calendar) migration tool with dry-run loss warnings

**Add-ons**

* **Liora Tickets** — sell multi-tier paid event tickets with Stripe, PayPal, or WooCommerce checkout. Includes an orders dashboard with refunds and CSV export, promo codes, inventory holds during checkout, and idempotent webhook handling. Works with the free or premium core plugin, no WooCommerce required.

Premium is available with an annual updates-and-support license or a lifetime license at [lioracalendar.com](https://lioracalendar.com). Add-ons are sold separately under the terms shown at purchase. Expiration stops feature updates and support, not installed functionality. Security releases remain available without an active license.

See **External services** below for third-party connections used by maps, address lookup, and update/license checks.

== Installation ==

1. Upload the `liora` folder to `/wp-content/plugins/`.
2. Activate the plugin through **Plugins > Installed Plugins**.
3. Add the **Calendar** or **Events List** block to any page, or use the `[liora_calendar]` shortcode.
4. Create events via **Events > Add New**.

== Frequently Asked Questions ==

= Do I need to pay to use this plugin? =

No. The free version includes recurring events, the calendar block, the events list block, venues with interactive maps, categories, basic RSVP, appointment booking, and iCal export. Premium adds the RSVP dashboard, email notifications, speaker profiles, and more.

= Does the free version ever stop working? =

No. Installed functionality is not remotely disabled. The plugin will continue to work as long as WordPress and PHP remain compatible, and security releases remain available without an active license.

= What does an annual Premium license cover? =

Feature updates and support for one year. After expiration, the installed plugin keeps working and continues to receive designated security releases, but other updates and support require renewal. A lifetime license includes feature updates and support for the life of the product.

= Does this plugin require any external services? =

Yes. See the **External services** section for full details. In short:

* **Liora (lioracalendar.com)** — free update checks, and Premium/add-on license activation and update checks
* **OpenStreetMap tile servers** — map imagery when venue coordinates are set
* **OpenStreetMap Nominatim** — optional venue address lookup (off by default)

Leaflet (the map library) is bundled with the plugin and is not loaded from a CDN. No OpenStreetMap API keys or accounts are required.

= Can I sell paid tickets to my events? =

Yes, with the **Liora Tickets** add-on. It adds multi-tier tickets, Stripe/PayPal/WooCommerce checkout, an orders dashboard with refunds, and promo codes on top of the free or premium core plugin. Sold separately as a one-time purchase.

= Can I import events from The Events Calendar? =

Yes. Premium includes a beta migration tool for events, dates, categories, and venues. Run its preview first: complex recurrence and exception patterns are reported and must be recreated manually.

= Does it support recurring events? =

Yes, in the free version. Daily, weekly, monthly, and yearly recurrence with an optional end date or occurrence limit. Occurrences are materialized in a dedicated table for fast queries.

= Does Liora output structured data for search engines? =

Yes, in the free version. Single event pages emit schema.org Event JSON-LD for each upcoming occurrence (recurring events get one entry per date, which is what Google's event rich results require), and event lists emit an ItemList. Venue address, map coordinates, and ticket availability are included when present. Developers can adjust or disable the output with the `liora_event_schema`, `liora_schema_organizer`, and `liora_schema_enabled` filters — for example, to hand schema duties to an SEO plugin.

= What page builders are supported? =

Liora ships as Gutenberg blocks. Shortcode fallbacks (`[liora_calendar]`, `[liora_events_list]`, `[liora_booking]`) work in any context that renders shortcodes, including classic editor and most page builders.

== Screenshots ==

1. Calendar block — month view with color-coded categories
2. Calendar block — list view with event thumbnails
3. Single event page with RSVP form and Add to Calendar links
4. Venue page with OpenStreetMap embed
5. RSVP dashboard (premium) — stats, capacity warnings, check-in toggle

== External services ==

This plugin connects to the following third-party / external services. Leaflet 1.9.4 (BSD-2-Clause) is bundled in the plugin and is not loaded from a CDN.

= Liora license and update service (lioracalendar.com) =

Liora connects to the plugin author's servers at [lioracalendar.com](https://lioracalendar.com) to check for plugin updates and, when you use Premium or a paid add-on, to activate and validate license keys.

* **Free edition:** When WordPress checks for plugin updates, Liora requests public release metadata from `https://lioracalendar.com/releases/free`. No license key is sent. The request is a standard HTTPS GET; the remote server may see technical connection details such as the requesting server's IP address and user agent.
* **Premium and paid add-ons:** When an administrator activates or deactivates a license, or when WordPress checks for updates, Liora sends the license key, this site's URL (`home_url()`), and (for update checks) the installed plugin version to `https://lioracalendar.com` license API endpoints. This is needed to verify the license, enforce activation limits, and deliver update packages.

Service provider: Boone Studios LLC (Liora).
Terms of service: [https://lioracalendar.com/terms](https://lioracalendar.com/terms)
Privacy policy: [https://lioracalendar.com/privacy](https://lioracalendar.com/privacy)

= OpenStreetMap Nominatim (optional address lookup) =

This plugin can look up latitude and longitude for venue addresses using OpenStreetMap Nominatim (`https://nominatim.openstreetmap.org/search`). Address lookup is **off by default**. When enabled under **Liora → Settings → Privacy & Data Retention**, saving a venue or clicking **Look up coordinates** sends the venue address string (street, city, state/region, postal code, and country as entered) to Nominatim. You can always enter coordinates manually instead.

Terms / usage policy: [https://operations.osmfoundation.org/policies/nominatim/](https://operations.osmfoundation.org/policies/nominatim/)
Privacy policy: [https://wiki.osmfoundation.org/wiki/Privacy_Policy](https://wiki.osmfoundation.org/wiki/Privacy_Policy)

= OpenStreetMap map tiles =

When an event or venue page shows a map and coordinates are set, the visitor's browser loads map imagery from OpenStreetMap tile servers (`https://*.tile.openstreetmap.org/`). Those requests may include technical details such as the visitor's IP address and browser user agent, which is required to display the map tiles.

Terms / tile usage policy: [https://operations.osmfoundation.org/policies/tiles/](https://operations.osmfoundation.org/policies/tiles/)
Privacy policy: [https://wiki.osmfoundation.org/wiki/Privacy_Policy](https://wiki.osmfoundation.org/wiki/Privacy_Policy)
Copyright and terms: [https://www.openstreetmap.org/copyright](https://www.openstreetmap.org/copyright)

== Changelog ==

= 1.0.0 =
* Initial release.
* Recurring events (daily / weekly / monthly / yearly) with materialized occurrences.
* Calendar block with month view, list view, taxonomy filters, and search.
* Events List block with featured image thumbnails.
* Venue CPT with address and interactive OpenStreetMap maps.
* Event categories (color-coded) and tags.
* Basic RSVP with capacity toggle and duplicate prevention.
* Appointment booking — services, multi-staff hosts, weekly hours, time off, calendar interop, booking block and `[liora_booking]` shortcode.
* Single-event iCal download.
* Google Calendar quick-add link.
* REST API endpoint.
* Schema.org Event JSON-LD on single events and event lists (Google event rich results ready).
* Premium: Speaker CPT, RSVP dashboard, email notifications, iCal feed, full Add to Calendar panel, TEC migration, booking dashboard and emails.
* Add-on: Liora Tickets — paid ticket tiers, Stripe/PayPal/WooCommerce checkout, orders, refunds, promo codes.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
