🎯 Need Help?

Get Premium Support

Priority assistance from the developer

More from ANWP

Football Leagues Premium

Complete football/soccer league management for WordPress

Learn more →

Games Scoreboard Shortcode

Pro Feature

Shortcode: [sl-games-scoreboard]

Display a modern scoreboard carousel showing multiple games with filtering options and automatic scrolling.

Overview

The Games Scoreboard shortcode creates an interactive carousel of game cards, perfect for homepages or tournament pages. It supports automatic rotation, filtering by teams, tournaments, and date ranges, and scrolls to today’s games by default.

Use Cases

  • Display live and upcoming games on your homepage
  • Show tournament games in a scrollable format
  • Feature games for a specific team
  • Create a “Games Today” section with automatic focus
  • Display recent results with final scores

Using the Shortcode Builder

The easiest way to create the shortcode is through the visual Shortcode Builder:

  1. Go to Sports Leagues > Shortcodes
  2. Select Games Horizontal Scoreboard from the list
  3. Configure your filters and display options
  4. Copy the generated shortcode

Parameters

Query Filters

ParameterTypeDefaultDescription
tournament_idIntegerFilter games by tournament ID
stage_idIntegerFilter games by tournament stage ID
season_idIntegerFilter games by season ID
league_idIntegerFilter games by league ID
venue_idIntegerFilter games by venue ID
finishedStringFilter by game status: 1 (finished), 0 (upcoming), empty (all)
filter_by_teamInteger/CSVFilter by team ID(s), comma-separated for multiple
filter_by_game_dayIntegerFilter by specific game day number
days_offsetIntegerDynamic date filter: negative for past days, positive for future
priorityIntegerFilter by game priority level

Sorting and Limits

ParameterTypeDefaultDescription
sort_by_dateStringascSort order: asc (oldest first) or desc (newest first)
limitInteger20Maximum number of games to display

Display Options

ParameterTypeDefaultDescription
game_layoutStringcard-aGame card layout style
today_focusInteger1Auto-scroll to today’s games: 1 (yes) or 0 (no)
show_team_logoInteger1Show team logos: 1 (yes) or 0 (no)
show_team_nameInteger1Show team names: 1 (yes) or 0 (no)
show_game_datetimeInteger1Show game date/time: 1 (yes) or 0 (no)
loopInteger1Enable carousel infinite loop: 1 (yes) or 0 (no)
autoplayInteger1Enable automatic sliding: 1 (yes) or 0 (no)

Examples

Basic Usage

Display all games with default settings:

[sl-games-scoreboard]

Tournament Scoreboard

Show games from a specific tournament:

[sl-games-scoreboard tournament_id="15" limit="10"]

Team Recent Results

Display last 5 finished games for a specific team:

[sl-games-scoreboard filter_by_team="42" finished="1" limit="5" sort_by_date="desc"]

Today’s Games

Show upcoming games with today’s matches in focus:

[sl-games-scoreboard finished="0" today_focus="1" autoplay="1"]

Static Display (No Animation)

Disable autoplay and looping for manual navigation:

[sl-games-scoreboard tournament_id="15" autoplay="0" loop="0"]

Minimal Display

Show only team logos and scores:

[sl-games-scoreboard stage_id="23" show_team_name="0" show_game_datetime="0"]

Related