== Changelog ==

= 1.0.9 - 2026-10-20 =
* Match Lineups shortcode - goalkeepers and the captain's are now marked with a new icons; both show a tooltip on hover
* Friendly matches - friendly matches without a tournament now show "Friendly" in place of the tournament name: in the Matches shortcode (table, list and card layouts), in the Match shortcode header, and in the Last Matches tables of the Referee, Stadium and Staff shortcodes
* Last Matches tables (Player, Referee, Venue, Staff) - the tournament name now links to the tournament page
* Knockouts shortcode - rounds are now listed from last to first (Final first), also in the knockout section of the Tournament shortcode
* Fixed - the Leg field of knockout matches was limited to 2; it now accepts any leg number, so best-of-three, five, seven or nine series can be entered
* Teams Stats shortcode - the sorted column is highlighted and the top rows are marked like the standings legend
* Players Stats shortcodes (table and single value) - new Team ID filter (team_id): shows only the players of one team, with their stats for that team (goals, assists and cards scored for another club are not counted); also in the shortcode generator
* Fixed - shortcode generator forms now show the missing options: Show Header, Title and link toggles for Players Stats, Teams Stats and Matches, Sort Order for Players Stats (Single Value)
* Translations - optimized: duplicate and near-duplicate strings merged into one, labels made consistent
* Frontend styles – minor UI tweaks to the shortcode output

= 1.0.8 - 2026-10-06 =
* New Demo Data page (Football Settings → Demo Data) - install a complete sample league (Acme League) or the full UEFA EURO 2024 tournament in one click, and remove it again just as easily
* New - schema.org structured data (JSON-LD) on match, team, player, staff, referee, stadium, tournament and league pages, so search engines understand what each page is about; can be switched off in Football Settings → General → Search Engines
* Standings - penalty points (Group settings → Initial Data) are now deducted in every frontend table, including the tournament and team pages, and the team is marked with * (the deduction is shown on hover); the Initial Data starting values are now included by default, so the points always match the order of the table
* Data cleanup - permanently deleting a match now also deletes its lineups and refreshes the group table and knockout tie it counted in; permanently deleting a team now also deletes its season squads and its rows in group tables (the other teams are re-ranked), and removes it as the current club / national team of its players; deleting a player removes the player's squads and transfers but keeps the match history - lineups, goals, cards and assists stay with the player's name; deleting a staff member removes the coach entries in lineups and the head-coach link of the team; deleting a referee clears it from its matches
* Translations - all 18 languages updated: new strings translated, unused strings removed, translation template (.pot) regenerated
* Teams Stats shortcode - only the metrics shown in the table are calculated, for faster loading
* readme.txt - new plugin title, description, "Who is it for?" section, extended FAQ and new screenshots
* Requirements - the minimum PHP version is now 7.4
* Frontend styles – minor UI tweaks to the shortcode output

= 1.0.7 - 2026-09-28 =
* Admin screens - code and asset optimization for faster loading
* Frontend - code and asset optimization: unused scripts and styles removed from the shortcode assets
* Matches shortcode - query optimization: match and team links and team and tournament logos are now loaded in one batch instead of one query per row 
* Fixed the documentation URL for every screen that shows the Help box. 
* Admin screens - removed the unmaintained Chosen library; all dropdowns now use Tom Select
* Matches - fixed a match decided on penalties having no winner when overtime/penalty points rules are off
* Frontend styles – minor UI tweaks to the shortcode output

= 1.0.6 - 2026-09-18 =
* Matches shortcode - matches in the Live status are now marked in every layout with a blinking LIVE badge
* Tournament, Team and Stadium shortcodes - embedded standings, teams and top player stats are now rendered directly from the template instead of through nested shortcodes.
* New shortcode [ibpf-knockouts] - lists every match of a tournament's knockout stages, grouped by round, with the team that won the tie marked; parameters: tournament_id, stage_id, round_id, show_header(yes/no) and title
* Tournament shortcode - the knockout section now uses the same output as [ibpf-knockouts]: single-leg rounds are shown as a plain match list, two-legged ties list both legs, and best-of series show the series score above their games
* Match shortcode - knockout matches now show the round name (Semi-final, Final…) in the header instead of a matchday number
* Players Stats shortcode - in a National Teams competition the team column now shows the player's national team and its crest instead of his club
* Admin screens - added new Shortcodes box with copy-ready example shortcodes
* Admin Insert Results page - the tie winner is now only set once the format decides it: after the match in a single-leg round, after both legs in a two-legged tie, and when a team reaches the required wins in a best-of series; entering an early result no longer clears a winner that was already set, and a single-leg tie decided on penalties is now recognised
* Player and Staff shortcode Recent matches - fixed drawn matches being shown as a loss in the Res column
* Frontend styles – minor UI tweaks to the shortcode output

= 1.0.5 - 2026-09-14 =
* Standings shortcode - added new parameter 'Only teams' - Restrict the table to only entered teams IDs
* Match Lineups shortcode - added new parameter 'show_badges'(yes/no) - display goal, own-goal, card and captain marks after the player name.
* Match Events shortcode - added new parameters: 'events' - choose which rows to show (goals, own goals, missed penalties, cards, substitutions), 'show_assists'(yes/no) - display the assisting player under a goal, 'show_marks'(yes/no) - display the Kick-off, Half-time, Extra-time and Full-time rows
* New shortcode [ibpf-match-header] - displays only the match header section (teams, crests, score, scorers, venue and referee), with the match_id parameter
* Tournament shortcode - knockout rounds with the Single-leg or Two-legged format are now shown as a plain match list instead of tie boxes, with the team that won the tie marked by an arrow; the tie boxes are still used when the round has no matches yet
* Admin Insert Results page - fixed results entered for knockout matches not updating the tie (winner, aggregate and progression); deleting a knockout match from this page now refreshes the tie as well
* Frontend styles – minor UI tweaks to the shortcode output

= 1.0.4 - 2026-09-09 =
* Match kick-off time is now hidden everywhere a match is shown when the tournament setting Match Kick-off Time is off
* Football Settings - new Permalinks tab where the URL slug of every content type (matches, teams, players, stadiums, leagues, seasons, staff, referees, tournaments) can be changed, defaulting to the ibpf- prefix; slugs reserved by WordPress or already used by another type are rejected, and permalinks are refreshed on save
* Tournament shortcode - standings section now renders every stage in order — round-robin stages as standings tables, knockout stages as bracket rounds — with the stage name shown as a heading on multi-stage tournaments and empty stages skipped
* Standings shortcode - table header no longer repeats the group name when a stage has only one group
* Frontend styles – minor UI tweaks to the shortcode output

= 1.0.3 - 2026-08-28 =
* added Croatian – Hrvatski ( hr ), Czech – Čeština ( cs_CZ ), Danish – Dansk ( da_DK ), Finnish – Suomi ( fi ), Hungarian – Magyar ( hu_HU ), Lithuanian – Lietuvių ( lt_LT ), Portuguese (Portugal) – Português ( pt_PT ),Romanian – Română ( ro_RO ), Slovak – Slovenčina ( sk_SK ),Swedish – Svenska ( sv_SE ) language files
* Match shortcode Events section and [ibpf-match-events] shortcode - the timeline now shows Kick-off, Half-time and Full-time markers around the events, plus an Extra-time marker after the 90th minute when the match went to extra time
* Teams Stats shortcode - goals, goals conceded, averages and clean sheets are now taken from the match score instead of requiring match events, cards and the advanced columns also read the Match Stats grid, the missing percentage columns were added, columns with no data behind them show a dash instead of 0, and awarded matches now count as played without adding goals or clean sheets
* Frontend styles – minor UI tweaks to the shortcode output

= 1.0.2 - 2026-08-26 =
* added German (de_DE), Italian (it_IT), Dutch (nl_NL), Polish (pl_PL), Portuguese-Brasil (pt_BR) and Ukrainian (uk) language files
* Match shortcode Lineups section and [ibpf-match-lineup] shortcode - the team coach is now shown as the last entry of each lineup card, under a "Coach" heading, with photo or nationality flag (following the Player Image setting), a link to the staff page and the job title

= 1.0.1 - 2026-08-19 =
* added Spanish (es_ES) and French (fr_FR) language files
* Stadium shortcode – moved the About section into its own block for a cleaner layout
* Admin Schedule Matches page – fixed Home team, Away team, and Stadium dropdowns not opening
* Frontend styles – minor UI tweaks to the shortcode output
* Admin Match Events - fixed the "Create" button in the Add New player quick-add form doing nothing
* Player shortcode Season totals - fixed Matches Played missing appearances with no event; starting eleven appearances are now counted from the lineups
* Player shortcode Recent matches - matches started by the player with no recorded event are now listed

= 1.0.0 - 2020-07-20 =
* Initial public release