=== SPOSCOR Soccer ===
Contributors: powereight, freemius
Tags: soccer, football, sports, scoreboard, tournament
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 3.1.30
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Publish soccer match results on WordPress. Half-by-half scoreboard, extra time, penalty shootouts, lineups and highlights. Requires SPOSCOR Core.

== Description ==

SPOSCOR Soccer is a dedicated soccer (football) plugin built on top of SPOSCOR Core. It adds soccer-specific features like half-by-half scoreboards, extra time, penalty shootouts, formations, starting lineups, and match highlights — all designed to publish your match results beautifully.

Perfect for local soccer clubs, amateur teams, school clubs, junior leagues, tournament organizers, and streamers who want a simple yet professional way to display match results on their WordPress site.

= Why SPOSCOR Soccer? =

* **Half-by-half scoreboard** — 1H / 2H with extra time (ET1 / ET2) when needed
* **Penalty shootout support** — Dedicated PK column for knockout matches
* **Lineup with formations** — Starting XI + substitutes, captain marker
* **Match highlights** — Goals, penalty goals, own goals, yellow/red cards, substitutions
* **OBS streaming** — Show live scores in your broadcasts (Pro)
* **Tournament brackets & standings** — Organize leagues and knockouts with points-based standings (Pro)
* **Beautiful display** — Modern card design that looks great on any theme

= Features =

**Free version includes:**

* Unlimited matches
* Half-by-half scoreboard (1H / 2H / ET1 / ET2 / PK)
* Starting lineup with positions (GK / DF / MF / FW / SUB) and captain marker
* Match highlights (goals, cards, substitutions)
* Full scorecard and compact result shortcodes
* 6 built-in design themes

**Available with Pro:**

* Tournaments — brackets and points-based standings
* Color and size customization (in addition to the 6 free themes)
* OBS streaming view (transparent overlay for YouTube / Twitch)
* Lineup bulk paste
* Priority support

= Shortcodes =

* `[sposcor_scorecard id="123"]` — Full match scorecard with halves, lineup, highlights
* `[sposcor_result id="123"]` — Compact result with link to full page
* `[sposcor_standings tournament="456"]` — Tournament standings (Pro)
* `[sposcor_tournament id="456"]` — Tournament bracket (Pro)

= Requirements =

* **SPOSCOR Core** (free) — required base plugin
* WordPress 6.0+
* PHP 7.4+

== Installation ==

1. Install and activate **SPOSCOR Core** first (required base plugin, available free on WordPress.org)
2. Upload SPOSCOR Soccer through the WordPress plugins screen, or extract to `/wp-content/plugins/soccer-sposcor/`
3. Activate the plugin through the "Plugins" screen in WordPress
4. Go to "SPOSCOR Soccer" in the admin menu to create your first match
5. Use shortcodes (e.g., `[sposcor_scorecard id="X"]`) to display matches on any page or post

== Frequently Asked Questions ==

= Do I need SPOSCOR Core? =

Yes. SPOSCOR Soccer is a sport extension that requires the free SPOSCOR Core plugin. Core handles the shared functionality (shortcodes, design themes) while SPOSCOR Soccer adds soccer-specific features.

= Does it support extra time and penalty shootouts? =

Yes. Use the +/- buttons to add ET1 and ET2 columns. For penalty shootouts, the PK column is available at the end of the scoreboard, entered separately from regulation and extra-time goals.

= Can I use shorter halves for junior or futsal matches? =

Yes. The match length is adjustable and the half labels (1H / 2H) work for any duration, including junior categories (U-10, U-12, U-15) and futsal.

= Can I record goal scorers, cards, and substitutions? =

Yes. The Highlights section lets you record each event with the player, minute, and team. Goals, penalty goals, own goals, yellow cards, red cards, and substitutions are all supported.

= Can I show live scores during a broadcast? =

Yes, the Pro version includes an OBS-friendly streaming view with transparent background, designed for YouTube / Twitch broadcasts.

= Is it compatible with my theme? =

Yes, SPOSCOR uses inline CSS and system fonts to avoid conflicts with theme styles.

== Screenshots ==

1. Full match scorecard on the front-end (halves, lineup, highlights)
2. Game Info tab — match date, time, venue and details
3. Team Settings tab — team names, colors and logos
4. Lineup tab — starting XI with positions and captain marker
5. Scoreboard tab — half-by-half score and highlights editor
6. Display Settings tab — show, hide and reorder sections
7. Settings page — display settings and design themes

== Changelog ==

= 3.1.30 =
* Fixed: refresh buttons on tournament and standings views did not update the timestamp (Pro)
* Fixed: Pro features could disappear when another SPOSCOR sport plugin was active on the same site
* Fixed: tournament features appeared on sports without a Pro license when another sport had one
* Fixed: design customization and streaming settings appeared on sports without a Pro license

= 3.1.23 =
* Fixed: the license activation and account screens were registered outside the plugin menu, which caused a PHP notice and an access error after activating a license

= 3.1.22 =
* Fixed: the upgrade banner linked to a page that does not exist
* Fixed: the upgrade banner showed the wrong plugin name

= 3.1.21 =
* Fixed: jersey numbers entered in the lineup were not shown on the front-end
* Fixed: formation could not be entered from the match editor, so it never appeared on the front-end
* Fixed: refresh and auto-refresh buttons on tournament and standings views (Pro)
* Improved: tournament grid layout now wraps to a single column on narrow screens (Pro)

= 3.1.19 =
* Half-by-half scoreboard with extra time (ET1 / ET2) and penalty shootout (PK)
* Starting lineup with positions (GK / DF / MF / FW / SUB), formation and captain marker
* Match highlights: goals, penalty goals, own goals, yellow/red cards and substitutions
* Tournaments with points-based standings (Pro)
* OBS streaming view for broadcasters (Pro)
* Requires SPOSCOR Core

== Upgrade Notice ==

= 3.1.30 =
This release fixes Pro features disappearing when another SPOSCOR sport plugin is active. Please make sure SPOSCOR Core is installed and active before using this plugin.
