=== zestama Widgets ===
Contributors: zestama
Tags: football, soccer, super league, standings, widget
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Η βαθμολογία της Σούπερ Λιγκ και το πλαίσιο κάθε ομάδας από το zestama.gr, στο site σου. Super League standings and club boxes from zestama.gr.

== Description ==

**Ελληνικά**

Βάλε στο site σου τη βαθμολογία της Σούπερ Λιγκ ή το πλαίσιο της ομάδας σου: θέση, φόρμα, επόμενος αγώνας και οι καλύτεροι παίκτες της σεζόν. Τα στοιχεία ανανεώνονται αυτόματα από το zestama.gr, οπότε δεν αλλάζεις τίποτα μετά από κάθε αγωνιστική.

* Shortcode για την ομάδα: `[zestama_omada slug="paok" theme="light" accent="club"]`
* Shortcode για τη βαθμολογία: `[zestama_vathmologia league="super-league" omada="aek" theme="dark"]`
* Μπλοκ «zestama.gr» για τον επεξεργαστή μπλοκ και widget για την πλαϊνή στήλη.
* Θέμα σκούρο ή ανοιχτό, χρώματα του zestama ή της ομάδας.

Τις ομάδες, τις διοργανώσεις και μια προεπισκόπηση κάθε επιλογής θα τις βρεις στο https://zestama.gr/widget/.

**English**

Show the Greek Super League table or a club box (position, form, next match, the season's best players) on your site. The data refreshes automatically from zestama.gr.

* Club box: `[zestama_omada slug="paok" theme="light" accent="club"]`
* League table: `[zestama_vathmologia league="super-league" omada="aek" theme="dark"]` (`omada` highlights a club)
* A «zestama.gr» block and a classic widget.
* `theme`: `dark` (default) or `light`. `accent`: `brand` (default) or `club` (the club's colours).

Club and league slugs, with a live preview: https://zestama.gr/widget/

= Credit link =

Every box is followed by one plain link, «Στατιστικά: zestama.gr», to the club's or the league's page on zestama.gr. It is part of the widget's output, visible to your readers, and the plugin outputs no other link.

== External services ==

This plugin displays data from zestama.gr, a Greek football statistics site. It is required: the boxes are built by a script loaded from zestama.gr.

* What is loaded: one script per club or league shown, from `https://zestama.gr/embed/omada/<slug>/widget.js` or `https://zestama.gr/embed/vathmologia/<league>/widget.js`, and the club crests and player photos the box displays.
* When: on every front-end page view that contains a zestama shortcode, block or widget.
* What is sent: what every browser request sends (the visitor's IP address, user agent and the page address as referrer). The plugin sends no other data, sets no cookies and stores nothing.
* Service: https://zestama.gr/

== Installation ==

1. Plugins → Add New → Upload Plugin, choose `zestama-widgets.zip` (download: https://zestama.gr/widget/zestama-widgets.zip), Install, Activate.
2. Add a shortcode to a post or page, the «zestama.gr» block in the block editor, or the «zestama.gr» widget under Appearance → Widgets.

== Frequently Asked Questions ==

= Πόσο κοστίζει; / Does it cost anything? =

Τίποτα, και δεν χρειάζεται εγγραφή. / Nothing, and no account is needed.

= Πού βρίσκω το slug της ομάδας μου; / Where do I find a club's slug? =

Στο https://zestama.gr/widget/ ή στη διεύθυνση της σελίδας της ομάδας: zestama.gr/omades/**paok**/. / On https://zestama.gr/widget/, or in the club page address.

= Θα επηρεάσει την εμφάνιση του θέματός μου; / Will it clash with my theme? =

Όχι: το πλαίσιο σχεδιάζεται σε Shadow DOM, οπότε ούτε το θέμα σου το αλλάζει ούτε αυτό το θέμα σου. / No: the box renders in a Shadow DOM.

== Changelog ==

= 1.0.0 =
* First release: club box and league table, shortcodes, block and classic widget, dark/light theme, brand/club colours.
