=== EveryRink Schedule ===
Contributors: everyrink
Tags: ice skating, rink, schedule, public skating, embed
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Shows your rink's upcoming public skating sessions from EveryRink on your own website.

== Description ==

EveryRink (https://everyrink.com) lists ice rinks with their public session times and prices, read from each rink's own website. This plugin puts your rink's next seven days of sessions on any page of your WordPress site, and keeps them up to date without any work from you.

* A shortcode: `[everyrink rink="nashville/centennial"]`
* A block: "EveryRink Schedule"
* Nothing to set up: there is no settings page and no account.
* It fits a sidebar (from 280 pixels wide) or a full-width page, in light and dark.
* Twenty languages: English, Spanish, French, German, Dutch, Italian, Danish, Norwegian (Bokmål), Swedish, Czech, Slovak, Finnish, Polish, Hungarian, Croatian, Slovenian, Estonian, Lithuanian, Latvian, Turkish, Russian, Vietnamese, Macedonian, Georgian, Armenian, Azerbaijani and Hindi.

Find your rink's code at https://everyrink.com/for-rinks. The listing and the schedule are free.

= Options =

* `rink` (needed): your rink as `region/rink`, exactly as in your page's address on everyrink.com.
* `lang`: `en`, `es`, `fr`, `de`, `nl`, `it`, `da`, `nb`, `sv`, `cs`, `sk`, `fi`, `pl`, `hu`, `hr`, `sl`, `et`, `lt`, `lv`, `tr`, `el`, `sr`, `bs`, `ro`, `zh`, `zh-hant`, `pt`, `ko`, `ja`, `uk`, `ru`, `vi`, `mk`, `ka`, `hy`, `az`, `hi`, `ar` or `he`. Without it, the schedule is in the language of your rink's page on EveryRink.
* `theme`: `light` or `dark`. Without it, the schedule follows each visitor's device.
* `types`: only some sessions, for example `types="public"` or `types="public,freestyle"`. The kinds are `public`, `freestyle`, `stick` and `hockey`.

Example: `[everyrink rink="aarhus/aarhus-skoejtehal" lang="en" theme="light"]`

= What this plugin connects to =

The schedule is a frame that loads one page from everyrink.com: `https://everyrink.com/embed/<your rink>`. That is the only outside connection this plugin makes, and it happens in your visitor's browser when a page with the schedule is shown. Your WordPress server itself contacts nobody.

* The frame sets no cookies and stores nothing on the visitor's device.
* It loads nothing from other companies: no fonts, scripts or trackers from anyone but everyrink.com.
* EveryRink counts each load of the frame anonymously on its server: which rink, the visitor's country and the name of the website showing it. No IP address, browser details or visitor identifier is kept.
* Under the frame the plugin prints one ordinary link to your rink's page on EveryRink.

EveryRink's privacy policy: https://everyrink.com/privacy

The plugin itself adds no tracking, stores nothing in your database and has no settings.

== Installation ==

1. In WordPress, go to Plugins, Add New, Upload Plugin, and choose `everyrink-schedule.zip`.
2. Activate "EveryRink Schedule".
3. Find your rink at https://everyrink.com/for-rinks and copy its shortcode.
4. Paste the shortcode into a page, a post or a text widget, or add the "EveryRink Schedule" block and type your rink there.

== Frequently Asked Questions ==

= Does it cost anything? =

No. The listing on EveryRink, the schedule and this plugin are free.

= My rink is not on EveryRink. =

Tell us at https://everyrink.com/support/ and we will look at your rink's website.

= A time or a price is wrong. =

EveryRink reads your own website's timetable. If something differs, tell us at https://everyrink.com/support/, or claim your rink at https://everyrink.com/for-rinks to keep your own times and prices.

= The schedule says "No public sessions posted for these days". =

EveryRink has no public sessions for your rink in the next seven days. Out of season, the schedule shows your season notice instead.

= Can I change the colours? =

The schedule has a light and a dark look and otherwise keeps EveryRink's own colours. Use `theme="light"` or `theme="dark"` to fix one.

= Does the plugin slow my site down? =

The frame loads only when a visitor scrolls near it, and the plugin adds one small script (under 1 KB) on pages that show the schedule.

== Screenshots ==

1. The schedule in a page's content column.
2. The schedule in a sidebar, dark.

== Changelog ==

= 1.0.0 =
* First version: the `[everyrink]` shortcode and the EveryRink Schedule block.

== Upgrade Notice ==

= 1.0.0 =
First version.
