🎯 Need Help?

Get Premium Support

Priority assistance from the developer

⬆️ Upgrade

Unlock all features

More from ANWP

Sports Leagues Premium

Multi-sport league management with advanced statistics

Learn more →

AnWP SL Theme Kit

Starter themes & block patterns for Sports Leagues

Learn more →

Matches Scoreboard Shortcode

Pro Feature

Display matches in a horizontal scrollable slider (scoreboard style). Shows live scores, results, and fixtures in a compact, navigable format. Perfect for headers, sidebars, or anywhere you need a space-efficient match ticker.

Matches scoreboard shortcode - a horizontal strip of compact result cards, each with club abbreviations, the score and the kick-off date

Premium Feature

This shortcode requires the Football Leagues Premium plugin.

Basic Usage

[anwpfl-matches-scoreboard competition_id="12"]

This displays a horizontal scrolling scoreboard with matches from competition 12.

All Parameters

Query Parameters

Parameter Default Description
competition_id (empty) Competition ID(s), comma-separated
season_id (empty) Season ID filter
show_secondary 1 Include secondary stages (multistage competitions). Use 0 to disable
type (all) Match type: result or fixture
limit 20 Maximum matches to display

Note

By default, show_secondary="1" includes all stages of multistage competitions. The Competition Selector only shows main stages. To get data for a specific stage (knockout or playoff), enter the stage ID manually in competition_id and set show_secondary="0".

Date Filters

Parameter Default Description
days_offset (empty) Dynamic start: “-2” for 2 days ago
days_offset_to (empty) Dynamic end: “3” for 3 days ahead

Filter Parameters

Parameter Default Description
stadium_id (empty) Filter by stadium ID
filter_by_clubs (empty) Club ID(s), comma-separated
filter_by_matchweeks (empty) Matchweek numbers, comma-separated
priority 0 Minimum match priority (0-5)

Display Parameters

Parameter Default Description
show_match_datetime 1 Show match date/time. Use 0 to hide
club_links 1 Make club logos/names clickable. Use 0 to disable
club_titles 1 Show club names. Use 0 to hide
today_focus 1 Auto-scroll to today’s matches. Use 0 to disable

Slider Options

Parameter Default Description
autoplay 0 Enable auto-scrolling. Use 1 to enable
loop 0 Continuous loop mode. Use 1 to enable

Examples

Example 1: Site Header Scoreboard

When to use: Fixed header showing today’s matches.

[anwpfl-matches-scoreboard competition_id="12" days_offset="-1" days_offset_to="1" today_focus="1"]

Result: Scoreboard showing yesterday, today, and tomorrow’s matches, focused on today.

Example 2: Weekend Results

When to use: Show only finished matches.

[anwpfl-matches-scoreboard competition_id="12" type="result" days_offset="-3"]

Result: Results from the last 3 days.

Example 3: Upcoming Fixtures

When to use: Show scheduled matches only.

[anwpfl-matches-scoreboard competition_id="12" type="fixture" days_offset_to="7"]

Result: Fixtures for the next 7 days.

Example 4: Featured Matches Only

When to use: Show only high-priority/featured matches.

[anwpfl-matches-scoreboard season_id="5" priority="3"]

Result: Only matches with priority 3 or higher.

Example 5: Auto-Scrolling Ticker

When to use: Live ticker effect for broadcasts or displays.

[anwpfl-matches-scoreboard competition_id="12" autoplay="1" loop="1" club_titles="0"]

Result: Continuously scrolling scoreboard with logos only.

Example 6: Specific Matchweek

When to use: Show a single matchweek’s games.

[anwpfl-matches-scoreboard competition_id="12" filter_by_matchweeks="15"]

Result: All matchweek 15 fixtures in a slider.

Tip

The today_focus feature automatically scrolls to today’s matches when the page loads. This is ideal for scoreboards that span multiple days – users immediately see the most relevant games.

Troubleshooting

Slider not scrolling?

  • Ensure there are enough matches to require scrolling
  • Check that JavaScript is loading properly
  • Try disabling conflicting slider plugins

Today focus not working?

  • Verify there are matches scheduled for today
  • Check that today_focus="1" is set

Related