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

There is a problem with deleting matches. They remain counted and present in the championship ranking even if they have been cancelled.

+1

Have you permanently deleted games (empty trash)?

--

Best Regards

Andrei S.

Image 8734

Как сделать?

Пока что такой формат не поддерживается.

--

Best Regards

Andrei S.

+1

Example of what can be done with new shortcode

Image 8965

--

Best Regards

Andrei S.