🎯 Need Help?

Get Premium Support

Priority assistance from the developer

⬆️ Upgrade

Unlock all features

More from ANWP

AnWP Club Kit

7 ready-made club site designs for Football Leagues

Learn more →

Sports API Hub

Live sports data integration for WordPress

Learn more →

Tennis API Hub

Live tennis and table tennis data for WordPress

Learn more →

Sports Leagues Premium

Multi-sport league management with advanced statistics

Learn more →

Charts: Goals per 10 Minutes

Pro Feature

Charts: Goals per 10 Minutes

Display a bar chart showing when goals are scored and conceded in 10-minute intervals. Ideal for shorter match formats like futsal (40 minutes) or configurable for standard football (90 minutes).

Premium Feature

This shortcode requires the Football Leagues Premium plugin.

Basic Usage

[anwpfl-charts type="goals-10" club_id="8"]

This displays a bar chart with goals scored and conceded across 10-minute periods. Default duration is 40 minutes (futsal format: 0-10, 10-20, 20-30, 30-40).

Shortcode Builder

Use the visual shortcode builder to configure parameters without memorizing syntax:

Parameters

Parameter Default Description
type * (required) Must be goals-10
club_id * (required) Club ID to analyze
competition_id (all) Filter to specific competition (main stage only via selector)
season_id (all) Filter to specific season
league_id (all) Filter to specific league
club_side (none) Show the club’s name and logo above the chart – home aligns it left, away aligns it right. Doesn’t filter matches
multistage 1 Count games from every stage of the competition (group stages, knockouts, playoffs). Set to 0 for the main stage only
limit 0 Maximum matches to analyze (0 = all)
max_duration 40 Maximum game duration in minutes. Use 40 for futsal, 90 for football
legend 1 Show chart legend. Use 0 to hide
text_scored Scored Custom label for “Scored” in legend
text_conceded Conceded Custom label for “Conceded” in legend
no_data_text (empty) Text displayed when no data available

* = Required parameter

Game Duration

The max_duration parameter controls how many 10-minute intervals are displayed:

Sport Value Intervals Shown
Futsal 40 (default) 0-10, 10-20, 20-30, 30-40
Football 90 0-10, 10-20, 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-90
Basketball quarters 48 0-10, 10-20, 20-30, 30-40, 40-48

Competition Filtering

The shortcode builder selector only allows selecting main stages of competitions. By default (multistage="1"), the chart counts games from every stage of that competition – group stages, knockouts and playoffs.

Main Stage Only

To count only the games played in the main stage itself, add multistage="0" to your shortcode.

Examples

Futsal Team Analysis

When to use: Futsal team profile showing scoring patterns in 40-minute matches.

[anwpfl-charts type="goals-10" club_id="8" season_id="5"]

Result: Four intervals (0-10, 10-20, 20-30, 30-40) showing goal distribution.

Football with 10-Minute Intervals

When to use: More granular analysis than 15-minute intervals for football matches.

[anwpfl-charts type="goals-10" club_id="8" max_duration="90"]

Result: Nine intervals showing detailed goal timing across 90 minutes.

Last N Games Analysis

When to use: Show recent form by limiting to last 10 matches.

[anwpfl-charts type="goals-10" club_id="8" limit="10"]

Result: Goals distribution from only the last 10 matches.

Main Stage Only

When to use: Leave out knockout and playoff games and chart the main stage alone.

[anwpfl-charts type="goals-10" club_id="8" competition_id="12" multistage="0"]

Result: Goals from the main stage of competition ID 12 only.

Troubleshooting

Chart not displaying?

  • Verify the club_id is correct and the club exists
  • Check that matches have goal data with minute values entered
  • Ensure JavaScript is enabled in the browser

Wrong number of intervals?

  • Check the max_duration value matches your sport format
  • Default is 40 minutes (futsal); use 90 for standard football

Related