=== SnowSure Snow Report & Ski Forecast ===
Contributors: snowsure
Tags: ski, snow report, weather, forecast, block
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add live snow reports, 14-day ski forecasts, and the SnowSure Score for any of 500+ ski resorts — as a block, shortcode, or widget. No account needed.

== Description ==

Show live ski-resort snow data anywhere on your WordPress site — perfect for ski blogs, lodging and chalet sites, tourism pages, and gear shops. Pick any of 500+ resorts and drop in a widget three ways:

* **Block** — add the “SnowSure Snow Report” block, search for a resort, choose a widget, done.
* **Shortcode** — `[snowsure_snow resort="chamonix" widget="forecast"]`
* **Classic widget** — add “SnowSure Snow Report” to any sidebar or footer.

Widget types:

* **Current conditions** — 24h/7d snowfall, snow depth, temperature, wind, season total.
* **14-day forecast** — daily snowfall and highs/lows for the next two weeks.
* **SnowSure Score** — the verified 0–100 conditions rating with trend.
* **Snow badge** — a compact chip with score, 24h snow, and base depth.
* **SnowSure Rank** — this resort’s powder rank and best-performing weather model.

Light or dark theme, compact or full size. No account, no API key — the data is public and served by SnowSure.

== External services ==

This plugin displays live ski-resort data from SnowSure (https://www.snowsure.ai), a third-party service operated by Afore. It is required for the widgets to work, and it is contacted in two ways:

* **In the block editor**, the plugin fetches the public resort list from `https://www.snowsure.ai/api/v1/resorts` so you can search for a resort by name. This request sends no personal data.
* **On any page or admin screen where you place a widget**, the browser loads an embed from `https://www.snowsure.ai/embed/…` in an iframe to display the live data. This is a standard third-party embed, like a YouTube video or a map.

If you enable the optional attribution credit (on by default), each widget also shows a link to that resort’s page on SnowSure.

SnowSure’s terms and privacy policy:

* Terms of Use: https://www.snowsure.ai/terms
* Privacy Policy: https://www.snowsure.ai/privacy

== Installation ==

1. Install and activate the plugin.
2. Add the **SnowSure Snow Report** block to a page (or use the `[snowsure_snow]` shortcode, or the sidebar widget) and pick a resort.
3. Optional: set a default resort and theme under **Settings → SnowSure Widgets**.

== Frequently Asked Questions ==

= Do I need a SnowSure account or API key? =
No. All widget data is public and served by SnowSure.

= How do I find a resort’s slug for the shortcode? =
It’s the last part of the resort URL: snowsure.ai/resorts/**chamonix**. In the block, you can just search by name.

= Which resorts are available? =
500+ worldwide, including all major resorts across the Alps, North America, Japan, the Andes, Australia and New Zealand.

= Can I remove the “by SnowSure” credit? =
Yes — turn it off under Settings → SnowSure Widgets.

== Screenshots ==

1. The SnowSure Snow Report block with the resort picker in the editor.
2. A current-conditions widget on a page.
3. The 14-day forecast widget.

== Changelog ==

= 1.0.0 =
* Initial release: block, shortcode, and classic widget for conditions, 14-day forecast, SnowSure Score, snow badge, and rank.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
