v0.16.7 - Work In Progress

  fixed    Admin UI: selecting content on dragging in Layout Builder and Formation

  fixed    Stat Clubs (Single Stat Value) - home_away argument not working in Shortcode builder

v0.16.6 - 2024-06-12

  added    new Gutenberg Block: Cards (based on Cards shortcode)

  fixed    minor fixes

v0.16.6 - 2024-06-12

  fixed    Frontend Game Edit - problem with saving game stadium

  fixed    API Import - Discover Games only from saved in the Dashboard

  added    new shortcode: "Stat :: Clubs (Single Stat Value)"

New Tutorials

Shortcode - Stat Clubs - Single stats value


New shortcode: "Stat :: Clubs (Single Stat Value)"

Image 9274

v0.16.5 - 2024-04-30

  added    option to hide migration notice

Image 9109

v0.16.5 - 2024-04-30

  added    API Import: Discover New Games to Create (new tool)

  added    option to restrict editing plugin instances only by administrators

  added    argument in shortcode "Stat :: Players (Single Stat Value)" - "player_name": default/short/full

  fixed    automatic Bracket errors in some situations

New Tutorials

API Import - Discover New Games to Create - (New Tool) - Football Leagues

API Import: Discover New Games to Create

Image 9104

Option to restrict editing plugin instances only by administrators

Image 9107

v0.16.4 - 2024-04-10

  fixed    Game list footer - show "penalties" scores if extra time is not set

  fixed    updated Twitter icon in Player and Club profile

  fixed    referee saving on Data Import tool

  added    option to show Player's Current Club based on the last game (Customizer >> Football Leagues >> Player & Staff)

option to show Player's Current Club based on the last game

Image 8847

v0.16.4 - 2024-04-10

  fixed    Bracket - "penalties" scores if extra time is not set
  fixed 
  Transfers shortcode incorrect link in unknown club -  #3175 
  added    new Gutenberg block - Calendar (based on old Classic widget)
  added 
  new Gutenberg block - Next Game (based on old Classic widget + some extra arguments)
  added 
  new Gutenberg block - Matchweek Slides (based on old Classic widget)
  added 
  new Gutenberg block - Calendar Slider (based on Calendar Slider shortcode)
  added 
  new Gutenberg block - Games Scoreboard (based on Vertical Matches Scoreboard shortcode)
  added 
  new Gutenberg block - Transfers (based on Transfers shortcode)
  added 
  team logo in Player >> Stats Totals block
  added 
  Layout Builder - option to select a custom layout for National teams and teams by IDs
  added 
  Layout Builder - inline CSS option in every block
  added 
  Layout Builder - Clone Block button
  added 
  Layout Builder - Raw HTML block
  improved    shortcode "Stat :: Players (Single Stat Value)" - changed design and added new arguments
  added 
  new Gutenberg block - "Stat::Players (Leaders)" (based on Stat :: Players (Single Stat Value) shortcode)

New arguments in shortcode "Stat :: Players (Single Stat Value)"

  --  "calculation" - with possible values "sum", "min", "max", "avg_game" (average per game) and "avg_90" (average per 90 min)
  --  "competition_id" - now supports several values separated by a comma
  --  "digits" - digits after decimal point. Only applied for average calculation (avg_game, avg_90)
  --  "type" - added options: defenders, midfielders and forwards
  --  "club_logo" - to show/hide club logo
  --  "show_position" - to show/hide player position
  --  "minutes_played" - show/hide number of minutes played
  --  "show_flag" - show/hide nationality flag
  --  "nationality" - filter by country  
  --  "days_offset" and "days_offset_to" - dynamic days filter
  --  "sort" - sorting "asc" or "desc" (default)
  --  "min_games" (number) - filter by the minimum number of games played
  --  "min_minutes" (number) - filter by the minimum number of minutes played
  --  "max_width" (number in px) - maximum block width in pixels 
  --  "one_line" 0 (no) /1 (yes) - try to put all player information in one line (ignoring some fields: position, minutes) 
  --  "matchweeks" - filter by match weeks or rounds
  --  "stadium_id" - filter by Stadium ID
  --  "include_ids" - filter by Game IDs includes (comma separated)
  -   "exclude_ids" - exclude Game IDs (comma separated)

Team logo in Player >> Stats Totals block

Image 8851

Layout Builder - option to select a custom layout for National teams and teams by IDs

Image 8880

Layout Builder - inline CSS option

Image 8881

Layout Builder - Clone Block button

Image 8885

Layout Builder - Raw HTML block

Image 8886

Shortcode "Stat :: Players (Single Stat Value)" - Use cases


Default layout

Image 8887

With "nationality" filter

nationality="es" 

Image 8888

Average rating per game 

calculation="avg_game" digits="1"

Image 8889

Goalkeepers with fewer goals conceded in 90 minutes with a minimum of 5 games played

stat="goals_conceded" calculation="avg_90" digits="1" type="g" min_games="5" sort="asc"

Image 8890

one_line="1"

Image 8891

v0.16.3 - 2024-02-20

  fixed    Frontend Game Edit - fixed size of substitute icon

  fixed    Club page - duplicated transfers

  fixed    game status "penalties" if extra time is not set

  fixed    Calendar Slider - multiple competition IDs support

  fixed    show Trophies metabox on the Club edit page

  fixed    Frontend Edit (Edit Game & Live Edit) - possible JS name conflict with other plugins (e.g.: Essential Addons for Elementor)

v0.16.3 - 2024-02-20

  fixed    Game Edit admin  - show save button on mobile

  fixed    game status "penalties" if extra time is not set

  fixed    errors in Game >> Missed Penalties 

  fixed    lineup data migration of non-existent games (removed)

  fixed    show multiple player nationalities in the Squad section and in Players shortcode

v0.16.2 - 2024-02-09

  improved    migration process (show some debug info on errors)

v0.16.2 - 2024-02-09

  fixed    problem with rendering default player photo on Birthdays
  fixed 
  problem with rendering player's age in the Player Header
  improved 
  migration process: added possibility to show subtask IDs and skip current subtask ID
  fixed 
  colors in the circle flag of Kazakhstan

v0.16.1 - 2024-02-08

  fixed    Transfers shortcode layout="player" - custom club_out is not rendering

  fixed    problem with rendering temp players in the game lineups

v0.16.1 - 2024-02-08

  fixed    migration issues with too long lineups

  fixed    migration problem with too long events list

  fixed    incorrect referee's games rendering on the Referee Page

  fixed    missing temp players in the game lineups

  fixed    date of death incorrectly calculated in some cases

v0.16.0 - 2024-02-07

⚠️ Warning

V0.16.0 has a new database structure. To complete the update, a migration process will be necessary.
Please ensure that you install the update when you have sufficient time to run the migration process.

⚠️ It is strongly advised to take a database backup before initiating the migration process.

⚠️ Some plugin functionality wouldn't work till the end of the migration process.

⚠️ It is recommended to begin the data migration process during less busy hours to minimize disruptions to website visitors. If you have a large database, it may take several hours.

----------------------------------------------------------
  changed    increased the minimal version to PHP 7.0

  improved    performance improvements

  added    new circle flags - https://github.com/HatScripts/circle-flags

  improved    Data Import tool

  added    tool to export game data in CSV format


Database Optimization

A special migration tool has been introduced in v0.16.0 to guide you through the migration process.


  improved    moved player metadata from "postmeta" to new "player_data" table

  improved    moved games metadata from "postmeta" to "matches" table.

  improved    moved lineups from "postmeta" to the new "lineups" table


Migration Process

Image 8126

Image 8322



Data Import tool

Image 8062

Image 8323



New Circle Flags

Added new circle flags with some former countries (Soviet Union, Yugoslavia)

If you don't like, you can switch back to legacy flags in Customizer >> General >> Flags 

Image 7837


v0.16.0 - 2024-02-07

⚠️ Warning

V0.16.0 has a new database structure. To complete the update, a migration process will be necessary.
Please ensure that you install the update when you have sufficient time to run the migration process.

⚠️ It is strongly advised to take a database backup before initiating the migration process.

⚠️ Some plugin functionality wouldn't work till the end of the migration process.

⚠️ All "API Import" scheduled tasks will be disabled. Do not activate them till the end of the migration process.

⚠️ It is recommended to begin the data migration process during less busy hours to minimize disruptions to website visitors. If you have a large database, it may take more than several hours.


----------------------------------------------------------
  changed    increased the minimal version to PHP 7.0

  fixed    "date_from" and "date_to" arguments in the Player Stats Panel shortcode are not working properly

  improved    API Import settings have been moved to a dedicated page  

  fixed    Subteams summary page is not working properly

  improved    automatic user's timezone functionality (logic of kickoff time converting)

  improved    Calendar Slider performance

Database Optimization

The new version will reduce database size by 200-300% and improve performance for most database queries.

A special migration tool has been introduced in v0.16.0 to guide you through the migration process.

  improved    custom player statistics moved into "anwpfl_players" table (from "anwpfl_player_stats" table)

  removed     "anwpfl_player_stats" table (after migration)

  improved    moved prediction from "postmeta" to new "predictions" table (less db size, better performance)

  improved    moved all formations from "postmeta" to new "formations" table (less db size, better performance)

  improved    moved all transfers from "postmeta" to new "transfers" table.


Migration Process

Image 8126

Image 8127

Test Results

1st website (23K - games, 28K players, DB size - 0.9GB)

After migration: DB - 0.45GB, migration process - 4 hours 

2nd website (6K - games, 10K - players, DB size - 304MB)

After migration: DB - 141MB, migration process - 12 minutes

Player Statistics Optimization 

From v0.16.0, custom player statistics are saved in the "players". The creation of appropriate database columns takes place automatically during saving statistics configuration.

Result: less db size, good performance for rendering shortcodes based on custom player statistics.

API Data Import - UI Improvements

New Menu and minor changes in Dashboard UI

Image 8123

API Data Import - new settings page

Old settings will be automatically migrated to a new format during the update.

Image 8124

Image 8125

v0.15.3 - 2023-07-30

  added    new Standing Table Advanced shortcode - info

  fixed    mobile YouTube loading error

  fixed    LIVE manual scores 0:0 on start

  fixed    minor API Import fixes

v0.15.2 - 2023-07-30

  fixed    video loading problem in some mobile browsers - #2827 
  fixed 
  problem on creating game with active Rank Math SEO plugin

v0.15.2 - 2023-07-05

  improved    minor CSS fixes
  improved 
  updated some dependent libraries

v0.15.1 - 2023-07-01

  added    new arguments in "Stats :: Players (Custom)" shortcode: "filter by columns" and "filter by column value (min)"

  added    new layout in "Stats :: Players (Custom)" shortcode: "tabulator" with sorting and filtering

  improved    %kickoff% placeholder in Builder will use plugin date format (if set in Settings >> Display >> Custom Match Date format)

  added    icons to basic statistics in "Stats :: Clubs" shortcode

Tabulator and undocumented "layout_mod" argument

All tabulator tables have a special argument "layout_mod"

The default value is layout_mod="even" (spread all free space on equal sizes between all columns)

Image 7152

layout_mod="auto" (automatic width)

Image 7153

layout_mod="first" (add all free space to the first column)

Image 7154

layout_mod="second" (add all free space to the second column)

Image 7155

v0.15.1 - 2023-07-01

  added    new Gutenberg Block:  Competition Header (based on Competition Header shortcode)

  added    new Gutenberg Blocks: Last and Next Game (based on appropriate shortcodes) with new arguments (max logo width, offset, transparent background)

  added    new Gutenberg Block: Game Countdown

  added    new Gutenberg Block: Teams

  fixed    JS errors with JetPack Boost "Concatenate JS" active option.

  fixed    "load more" in Matches shortcode: "days_offset_to" and "days_offset" arguments are ignored

  improved    %kickoff% in "Match title generation rules" will use plugin date format (if set in Settings >> Display >> Custom Match Date format)

New Gutenberg Blocks

Image 7130

Gutenberg Block: Competition Header

Image 7017

Gutenberg Block: Last Game

Image 7106


If you have JS errors with Jetpack Boost installed in Football Leagues v0.15.0, disable "Concatenate JS".

Image 7034

v0.15.0 - 2023-06-13

  improved    public JavaScript files have been rewritten in modern JS (removed jQuery dependency, make future maintenance easier)
  replaced 
  DataTables library with Tabulator (all dependent shortcodes have been rewritten)
  added    new animated countdown (instead of the old flipping)
  added    new Block MegaMenu add-on (create simple mega-menu in almost any theme)
  added 
  new Custom Sidebars add-on
  deprecated 
   Aneto theme is deprecated and no longer maintained (but you can use it as long as you want). Our theme recommendations are Kadence, GeneratePress, Blocksy, or any other classic theme.
  added 
  LIVE Matches shortcode
  fixed 
  MatchWeeks Slides (shortcode) - matchweek argument is not working in a hidden tab

New Tutorials:

Kadence WP - Setup from Scratch for Football Website - Part 1
AnWP Block MegaMenu add-on
Kadence WP - Setup from Scratch for Football Website - Part 2

Player Statistics in Tabulator

Image 6791

New animated countdown

Image 6792

New Addons menu

Image 6923

v0.15.0 - 2023-06-13

  fixed    edit Stadium - autocomplete places and addresses

  added    option in Customizer to load stadium map after user approval

  improved    load scripts only on required pages (Plyr)

  improved    JS script to load native YT player

  improved    JavaScript files have been rewritten in order to remove the jQuery dependency

  changed    game kickoff flipped countdown to a simple one (removed old jQuery script)

  added    season dropdown switcher in the Competition header

  added    "load more" argument in Matches shortcode ("limit" argument required  to show the initial number of games)

  added    "load more" button under the "Fixtures" and "Latest Matches" sections on the Club Page

  added    Subteams functionality - #759

New Tutorials

Subteams functionality

Option in Customizer to load Stadium Map after user consent

Image 6745


New simple game kickoff countdown

Image 6761

Season Dropdown switcher in the Competition Header

Image 6847

Load More argument in Matches shortcode

Image 6860

v0.14.18.3 - (Beta) - 2023-04-03

  fixed    rendering Calendar Slider and widget with non-Latin characters in no-data-text after installing v0.14.18.2

v0.14.18.2 - (Beta) - 2023-03-30

  improved    performance improvements

  fixed    bracket manual layout has incorrect order in some cases

v0.14.18.1 - (Beta) - 2023-03-23

  improved    manual LIVE - performance and cache improvements

How to install Beta version

Image 6627

How to Add Full Page Cache on manual LIVE


Image 6628

v0.14.15 - 2023-03-12

  fixed    youtube video not visible

  fixed    additional temporary referee name is not displayed

v0.14.18 - 2023-03-10

  added    Standing - home/away table data

  added    Game Formation - new display options (photo & shirt, rating, game events, nationality) - "Customizer" >> "Football Leagues" >> "Match"

  added    player rating color depends on the value (from red to blue). You can change min/max values in "Customizer" >> "Football Leagues" >> "General"

  fixed    Standing table colors with Conference support

Standing - home/away table data

Image 6502


Game Formation - new display options

Image 6504

v0.14.14 - 2023-03-10

  improved    Matches shortcode - group by competition order and sorting

  added    support for custom countries ("Settings & Tools" >> "Settings" >> "Custom Fields")

  improved    Standing table - added initial sorting by team name

Custom Countries

Image 6495

v0.14.13 - 2023-02-06

  improved    Widget Birthdays - hide birthdays for the players with a filled date of death (can be changed with a hook)

v0.14.17 - 2023-02-06

  fixed    Full Page Caching - improved W3 Total Cache support

  fixed    Frontend Edit - game events on save don't update the plugin cache

  fixed    Layout Builder - Stadium season selector not visible

  improved    Import API - minor UI fixes

New Tutorials:

https://www.anwp.pro/how-to-override-and-create-new-templates-in-anwp-football-leagues/

v0.14.12 - 2023-01-09

  fixed    Data Import tool: problem with temporary players import 

v0.14.16 - 2023-01-09

  improved    API Import - LIVE update logic

  added    Experimental support for the full-page caching (purge cache on API Import - game update)

Image 6334

v0.14.15 - 2022-12-12

  improved    LIVE Import - LIVE scores data are updated by WP Rest API that can be cached on web server level

v0.14.14 - 2022-12-03

  fixed    API Import - Penalty Shootout parsing 

v0.14.13 - 2022-11-29

  fixed    Import API - minor LIVE import improvements 

  improved    Bracket - added "free mode" and kickoff time field


New Tutorials

https://www.anwp.pro/tournament-bracket-football-leagues-wordpress-plugin/

v0.14.12 - 2022-11-19

  improved    API Import - minor fixes on LIVE import

  added    API Import - added option to force update player photos on squad update 

  added    VAR event

Image 6110

Image 6122

v0.14.11 - 2022-11-06

  fixed    Player: all seasons block - season sorting

v0.14.11 - 2022-11-06

  fixed    Player: "all seasons" as the default player page doesn't work in some situations

  fixed    Standings shortcode: incorrect sorting by title

  fixed    manual LIVE is not working together with API LIVE Import

  fixed    logic in calculating Standing Table arrows 

Manual LIVE import support together with API LIVE Import

Image 6017

v0.14.10.1 - 2022-10-22

  fixed    API Import - error with 00:00:00 GMT time

  fixed    LIVE block style in slim game layout with competition logo

v0.14.10 - 2022-10-19

  added    "All Seasons" page in Player profile

  improved    "Stats Totals" blocks for "All Seasons"

  added    option in Customizer to select team Abbreviation or Full name in "Simple" and "Modern" Match List layout

"All Seasons" page in Player profile

Image 5880

Image 5882

"Stats Totals" blocks for "All Seasons"

Image 5883

Option to select team Abbreviation or Full name in "Simple" and "Modern" Match List layout

Image 5922

v0.14.10 - 2022-10-19

  added    automatic user timezone functionality + timezone switcher ( #1530 )

  added    Layout Builder > Player - "Show on Player Position" filter option

  added    new arguments in Calendar Slider shortcode:

    - calendar_size="small" (small or default)

    - competition_title="league" (league name or competition title)

    - centered (1/0) - make active day centered

    - day_width - day width (px)

  added    new argument in Referees Stats shortcode - order

  improved    API Import - LIVE Import: improved performance

New Tutorials

Automatic User's timezone

Automatic user timezone functionality

Image 5909

Image 5910

Layout Builder > Player - "Show on Player Position" filter option

Image 5864

Calendar Slider - calendar_size="small"

Image 5885

v0.14.9 - 2022-09-15

  added    new option in Customizer 'Competition Title in Competition Header'

New option in Customizer 'Competition Title in Competition Header'

Image 5829


v0.14.9 - 2022-09-15

  added    Dynamic SEO - conditional tags

  fixed    empty row in Referees Stats shortcode (games without referee assigned)

  fixed    kickoff game edit in frontend Game edit mode

  added    new dynamic variables in Layout Builder - Match: referee_id and referee_name

  added    new arguments "date_from" and "date_to" in Shortcodes: Stat Players, Stats Players (Custom) & Players Stats

  added    new Player Stats Panel shortcode (improved version of old Player's Stats Panel)

New Tutorials

Player Stats Panel (shortcode)

Player Stats Panel shortcode

Image 5842

Dynamic SEO - conditional tags

Image 5820

v0.14.8 - 2022-09-02

  improved    loading some scripts by request only (DataTables, Flatpickr)

  improved    added optimized Swiper library (twice smaller). If you have a problem with it, disable it in FL+ Customizer

  added    API Import - update stadiums and referees on "Update Kickoff time" action 

  added    API Import - option to reset squad on update (NO - default)

  added    new "plain" layout in shortcode Matches

  added    new Referee Stats shortcode

  added    new Referees Stats shortcode

New Tutorials

Referee Stats

Referees Stats

Referees Stats shortcode

Image 5780


Referee Stats shortcode

Image 5778

Optimized Swiper library

Swiper is used in Calendar Slider, Matches Scoreboard and Matchweek Slides.

Image 5746

API Import - option to reset squad on update (NO - default)

Image 5764

"plain" layout in Shortcode "Matches"

Image 5768

Image 5769

v0.14.8 - 2022-09-02

  fixed    show Fourth official referee finished games

  fixed    display temporary players in Penalty Shootout

v0.14.7.1 - 2022-07-30

  fixed    rendering SEO title of non-plugin pages in SEO plugins

v0.14.7 - 2022-07-30

  fixed    show non-standard Referee's countries (England, Walles, e.t.c.)

v0.14.7 - 2022-07-30

  fixed    Transfers shortcode - show team title with a logo

  added    dynamic SEO title and descriptions in Layout Builder

  added    more dynamic variables in Layout Builder

  fixed    API Import: no games to create in some situations (when API League's "from" parameter is not set correctly)

New Tutorials

- https://www.anwp.pro/seo-options-in-layout-builder-title-and-description/

Dynamic SEO title and descriptions in Layout Builder

Image 5670

v0.14.6 - 2022-06-28

  added    API Import - support Cancelled game status on import

  added    API Import - update Team code (abbreviation)

  fixed    API Import - error on creating games on some servers

  added    API Import - (Beta) Automatic Import Wizard for the most popular leagues

Image 5588

Image 5589

v0.14.6 - 2022-06-28

  added    new Game special status - "Match Cancelled"

  fixed    Game Lineups - Captain badge on a temporary player