=== AddonLogic ICS Calendar Export ===
Contributors: snehalpancholi
Tags: ics, ical, calendar, events, add to calendar
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds "Add to Calendar" buttons on event pages generating .ics downloads and deep-links to Google Calendar and Outlook.

== Description ==

AddonLogic ICS Calendar Export automatically appends "Add to Calendar" buttons to single event pages (sec_event CPT). Visitors can download a standards-compliant .ics file for Apple Calendar, Thunderbird, or any iCal-compatible app, or jump directly to Google Calendar or Outlook with the event pre-filled.

**Key Features:**

* Auto-injects buttons on single sec_event pages
* Downloads a RFC 5545–compliant .ics file
* Google Calendar deep-link with all event fields
* Outlook.com deep-link with all event fields
* `[add_to_calendar id="123"]` shortcode for manual placement
* Handles all-day and timed events
* Correct UTC time conversion from site timezone
* Line-folding per RFC 5545

== Installation ==

1. Upload the `ics-calendar-export` folder to `/wp-content/plugins/`.
2. Activate the plugin.
3. Requires the AddonLogic Simple Event Calendar plugin.
4. Buttons appear automatically on single event pages. No configuration needed.

== Changelog ==

= 1.0.0 =
* Initial release.
