🎯 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 15 Minutes

Pro Feature

Charts: Goals per 15 Minutes

Display a bar chart showing when goals are scored and conceded in 15-minute intervals (0-15, 15-30, 30-45, etc.). Perfect for analyzing team performance patterns throughout matches.

Premium Feature

This shortcode requires the Football Leagues Premium plugin.

Basic Usage

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

This displays a bar chart with goals scored (green) and conceded (red) across 15-minute periods for the specified club.

Shortcode Builder

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

Parameters

Parameter Default Description
type * (required) Must be goals-15
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)
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

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.

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

This shows goals from the main stage of competition ID 12 only.

Examples

Season Goal Distribution

When to use: Team profile page showing seasonal scoring patterns.

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

Result: Shows when the team typically scores and concedes across all competitions in that season.

Both Teams with Club Headers

When to use: A game preview with each team’s chart under its own name and logo.

[anwpfl-charts type="goals-15" club_id="8" club_side="home"]
[anwpfl-charts type="goals-15" club_id="14" club_side="away"]

Result: Two charts, each with its club header – aligned left for the home team, right for the away team. club_side only places the header; both charts still count all of that club’s games.

Last N Games Analysis

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

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

Result: Goals distribution from only the last 10 matches.

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

Empty chart with filters?

  • The club may not have played matches in the specified competition/season
  • Try removing filters to confirm data exists

Related