=== Automaize Event Calendar ===
Contributors:      automaize
Tags:              events, calendar, event calendar, recurring events, woocommerce
Requires at least: 6.0
Tested up to:      7.0
Requires PHP:      7.4
Stable tag:        1.0.0
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

Displays upcoming events in a responsive tile grid. Supports recurring events and optional WooCommerce ticket integration.

== Description ==

**Automaize Event Calendar** lets you create and manage events directly in the WordPress admin and display them anywhere on your site using a simple shortcode.

**Key features:**

* Responsive tile grid (1–4 columns, auto-adjusts on mobile)
* Events sorted chronologically — next event first
* Past events hidden automatically
* Recurring events: weekly, monthly by date, monthly by weekday (e.g. first Monday), or individual custom dates
* Configurable visibility window (how many days into the future) and maximum event count
* Per-event button text, subtitle, and time display
* Optional WooCommerce product link per event for ticket sales or booking
* Theme-overridable templates
* Fully translatable (ready for translation via GlotPress on WordPress.org)

**Shortcode usage:**

`[amzec_events]`

Optional attributes:

* `count` – maximum number of events to show (default: 12)
* `future_days` – show events up to N days in the future; 0 = unlimited (default: 0)
* `columns` – number of tile columns 1–4 (default: 3)
* `category` – comma-separated category slugs to filter

Example: `[amzec_events count="6" columns="2" future_days="90"]`

== Installation ==

1. Upload the `automaize-event-calendar` folder to `/wp-content/plugins/`.
2. Activate the plugin via **Plugins › Installed Plugins**.
3. Go to **Events › Einstellungen** to configure defaults.
4. Create events under **Events › Neu hinzufügen**.
5. Add the shortcode `[amzec_events]` to any page or post.

== Frequently Asked Questions ==

= How do I display events in a different number of columns? =

Use the `columns` attribute: `[amzec_events columns="2"]`. On tablets the grid automatically reduces to 2 columns, and on mobile to 1 column.

= Can I show only a specific category? =

Yes: `[amzec_events category="workshop,seminar"]`

= How does WooCommerce integration work? =

When editing an event, enter the ID of an existing WooCommerce product in the sidebar. An add-to-cart button will appear on the single event page.

= Can themes override the templates? =

Yes. Copy `templates/partials/event-tile.php` to `amzec-event-tile.php` in your theme root to override the tile, or `templates/single-amzec_event.php` to `single-amzec_event.php` in your theme root to override the single event page.

= Will deleting the plugin remove my events? =

Yes — uninstalling (deleting) the plugin removes all event posts, taxonomy terms, and plugin settings. Deactivating alone does not remove any data.

== Screenshots ==

1. Event tile grid on the frontend
2. Event edit screen with date, time and recurrence settings
3. Plugin settings page

== Changelog ==

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release.
