=== Simbe Weather Ticker ===
Contributors: simbe1
Donate link: https://paypal.me/HBesim
Tags: weather, ticker, forecast, temperature, marquee
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Scrolling weather ticker and weather table with inline icons. Choose your towns in the admin, no API key required.

== Description ==

Simbe Weather Ticker shows the current weather for the towns you pick, either as a scrolling
ticker or as a table.

* Scrolling ticker with weather icon, town name and temperature
* Weather table with sortable columns
* Town search built in, no API key needed
* Celsius or Fahrenheit
* Works with shortcodes and blocks
* Caches responses so your pages stay fast

Data comes from Open-Meteo, which needs no account or API key. Open-Meteo asks every plugin
and site to credit them, so the ticker and the table link back:

* Terms of Use: https://open-meteo.com/en/terms
* Privacy Policy: https://open-meteo.com/en/terms#privacy
* Data licence (CC BY 4.0): https://open-meteo.com/en/licence

= Usage =

Shortcodes:

* `[simbe_weather_ticker]` - scrolling ticker with all configured towns
* `[simbe_weather_ticker towns="london,paris"]` - only the towns you name
* `[simbe_weather_ticker theme="light" duration="25" condition="yes"]` - lighter and faster
* `[simbe_weather_table]` - table with all configured towns
* `[simbe_weather_table columns="icon,condition,wind" orderby="temp" order="desc"]` - chosen columns, warmest first

Blocks:

* Weather Ticker
* Weather Table

= Configuration =

Go to Settings > Simbe Weather Ticker, search for a town and press Add. Use the arrow buttons
to change the order, Remove to drop a town, or Add town manually to enter coordinates
yourself. Everything else on that screen is a default for the shortcodes and blocks.

The panel at the bottom of the settings screen records recent save attempts, which is
useful if you need to report a problem.

== Frequently Asked Questions ==

= Do I need an API key? =

No. Simbe Weather Ticker uses Open-Meteo, which is free and keyless.

= Who provides the weather data and can I use it? =

Open-Meteo, under the CC BY 4.0 data licence. Their free API is limited to 10,000 calls per
day and to non-commercial sites, so this plugin suits private, non-profit and hobby sites. Read
their Terms of Use at https://open-meteo.com/en/terms and their Privacy Policy at
https://open-meteo.com/en/terms#privacy before you rely on the data.

= Why is the ticker empty? =

The ticker needs at least one town. Add towns under Settings > Simbe Weather Ticker.

= How often is the weather refreshed? =

Forecasts are cached for 30 minutes by default. Use Clear weather cache on the settings
screen to fetch fresh data immediately.

== Changelog ==

= 1.1.0 =
* Renamed the plugin to Simbe Weather Ticker and moved it to the simbe-weather-ticker slug, so the
  plugin now has a distinctive name and its prefixes are no longer generic.
* The shortcodes are now `[simbe_weather_ticker]` and `[simbe_weather_table]`. Please update any
  existing posts, and note that the settings screen moves to Settings > Simbe Weather Ticker.
* The blocks are now Weather Ticker and Weather Table under the Simbe Weather Ticker name.
* Settings are stored under a new namespaced option, so towns have to be added again after the
  update.
* Open-Meteo is credited in the ticker and the table, as their terms require.

= 1.0.5 =
* Added the Open-Meteo credit line to the ticker and the table, as their terms require.
* Documented the Open-Meteo terms of use, privacy policy and CC BY 4.0 data licence.
* Added GPL license headers to every PHP, JavaScript and CSS file.

= 1.0.4 =
* Author, author profile, plugin page and donation link added.

= 1.0.3 =
* Declared tested compatibility with the current WordPress release.
* Moved the plugin bootstrap and the uninstall routine out of the global namespace.
* Fixed the plugin folder name so the text domain matches the plugin slug.

= 1.0.2 =
* Fixed town rows being lost when a town was added in the admin.
* Towns can no longer be wiped by a settings submission that arrives without them.
* Version bump so browsers pick up the new admin script immediately.
* Added a save diagnostics panel to the settings screen.
* Removed the placeholder Plugin URI header and added this readme file.

= 1.0.1 =
* Fixed the ticker icon for clear nights.
* Fixed the missing Temperature column heading in the table.

= 1.0.0 =
* First release.

== Upgrade Notice ==

= 1.1.0 =
The plugin is now Simbe Weather Ticker. The shortcodes are now `[simbe_weather_ticker]` and
`[simbe_weather_table]`, and the settings live under a new option, so please add your towns again.

= 1.0.2 =
Fixes town saving in the admin and refreshes the admin script cache.
