🎯 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 →

1. Getting Started


This guide walks you through setting up your first sports website. By the end, you’ll have a working league with teams, players, games, and automatic standings.

🎯 What You Can Build

  • League websites with standings and fixtures
  • Team sites with rosters and game schedules
  • Tournament platforms with brackets
  • Sports club sites with multiple divisions
  • Statistics tracking platforms

📋 Prerequisites

RequirementMinimumRecommended
WordPress5.9+Latest
PHP7.4+8.0+
MySQL5.6+5.7+
Required PluginCMB2
PermalinksNon-PlainPost name

🚀 Step 1: Configure Your Sport

The Sport Configurator sets up positions, statistics, events, and standing table format for your sport.

  1. Go to Sports Settings > Sport Configurator
  2. Select your sport from the dropdown (Basketball, Hockey, Rugby, etc.)
  3. Click Load Configuration
  4. Review the pre-configured settings
  5. Click Save Configuration

What gets configured:

  • Player positions specific to your sport
  • Statistics to track (points, rebounds, assists, etc.)
  • Game events (goals, fouls, penalties, etc.)
  • Standing table columns and point system

📁 Step 2: Create League & Season

Create a League

  1. Go to Sports Leagues > Leagues
  2. Enter league name (e.g., “NBA”, “Premier Division”)
  3. Click Add New League

Create a Season

  1. Go to Sports Leagues > Seasons
  2. Enter season name (e.g., “2024-25”)
  3. Click Add New Season

Tip

Use consistent naming — “2024-25” not “2024/25” or “Season 2024”. This makes filtering easier later.

👥 Step 3: Add Teams

Create Team One-by-One

  1. Go to Sports Leagues > Teams > Add New
  2. Enter team name as title
  3. Fill in Team Details:
    • Short Name (2-4 letters for compact displays)
    • City (optional)
  4. Upload team logo in sidebar
  5. Click Publish

Bulk Create Teams

For multiple teams at once:

  1. Go to Sports Leagues > Teams > Bulk Add
  2. Enter team names (one per line)
  3. Click Create Teams

🏃 Step 4: Add Players

Create Players

  1. Go to Sports Leagues > Persons > Add New Player
  2. Enter player name as title
  3. Fill in Player Details:
    • Position
    • Jersey Number
    • Date of Birth
    • Photo (Featured Image)
  4. Click Publish

Bulk Create Players

  1. Go to Sports Leagues > Persons > Players > Bulk Add
  2. Enter player names (one per line)
  3. Select default team (optional)
  4. Click Create Players

Assign to Team Roster

  1. Go to Sports Leagues > Teams
  2. Edit a team
  3. Scroll to Roster section
  4. Click Add Player
  5. Select player, position, number, status
  6. Click Update

Note

Rosters are season-specific. Players must be assigned to rosters before they can appear in game lineups.

🏆 Step 5: Create Tournament

  1. Go to Sports Leagues > Tournaments > Add New
  2. Enter tournament name (e.g., “Premier Division 2024-25”)
  3. In sidebar, select:
    • League: Your league
    • Season: Your season
  4. In Tournament Data, set tournament type (Round Robin, Knockout, etc.)
  5. In Participating Teams, add your teams
  6. Click Publish

Tournament Types:

TypeDescription
Round RobinEach team plays every other team
KnockoutSingle elimination bracket
MultistageCombines group stage + playoffs

⚽ Step 6: Add Games

  1. Go to Sports Leagues > Games > Add New
  2. Fill in Game Details
  3. For completed games, fill in Game Result:
    • Home Score
    • Away Score
    • Check Finished
  4. Click Publish
FieldDescription
TournamentSelect your tournament
Home TeamHome team
Away TeamAway team
Date/TimeGame date and kickoff
Game DayRound number (e.g., 1, 2, 3)
VenueGame location (optional)

Important

Games must be marked as Finished to count in standings. Unfinished games appear as fixtures only.

📊 Step 7: Add Game Events (Optional)

Game events track scoring, fouls, substitutions, and other in-game actions. This enables player statistics.

  1. Edit a game
  2. Scroll to Game Events section
  3. Click Add Event
  4. Select:
    • Event type (Goal, Foul, Card, etc.)
    • Team
    • Player
    • Minute
  5. Add more events as needed
  6. Click Update

Tip

Events are optional but enable automatic player statistics calculation. See Game Events for details.

📈 Step 8: Create Standing Table (2 min)

Standing tables must be created manually, but statistics calculate automatically from finished games.

Create a Standing

  1. Go to Sports Leagues > Standings > Add New
  2. Select your Tournament from the dropdown
  3. Choose the Stage & Group containing your teams
  4. Click Select Group & Continue
  5. Review the table (teams loaded automatically)
  6. Click Publish

Result: The standing table shows current rankings based on finished games.

What Standing Shows

ColumnDescription
PosTeam position/rank
TeamTeam name
PGames played
W/D/LWins, draws, losses
PF/PAPoints for / against
PDPoint differential
PtsStanding points

Tip: Add more finished games → standings recalculate automatically.

Learn more:

🌐 Step 9: Display on Website

Using Shortcodes

Add shortcodes to any page or post:

[sl-standing tournament_id="123"]

[sl-games tournament_id="123"]

[sl-team id="456"]

Find IDs: Edit any item → check URL for post=123

Using Blocks

  1. Edit page in Gutenberg
  2. Add block → Search “Sports” or “SL”
  3. Configure in sidebar panel

See Blocks Reference for all available blocks.

Add to Menu

  1. Go to Appearance > Menus
  2. Find Sports Leagues section
  3. Add teams, tournaments, or archive pages to menu

💡 Quick Tips

TipWhy
Start with 2-3 teamsTest workflow before adding more
Use short namesBetter display in compact widgets
Consistent season namingEasier filtering later
Upload team logosMore professional appearance
Mark games “Finished”Required for standings calculation

⚠️ Common Mistakes to Avoid

MistakeSolution
Standings not showingMark games as “Finished”
Teams not appearingEnsure teams are Published
Shortcode shows as textUse Shortcode block in Gutenberg
404 errors on pagesGo to Settings > Permalinks > Save
Players not in lineupsAssign players to team rosters first

🆘 Troubleshooting

Standings Empty?

Problem: Standing table shows no data.

Solutions:

  1. Edit games → Verify “Finished” is checked
  2. Verify tournament is assigned to games
  3. Clear cache: Sports Settings > Tools > Clear Cache

Player Stats Not Showing?

Problem: Player statistics are empty or not calculating.

Solutions:

  1. Players must be in team rosters
  2. Games must have events with players
  3. Games must be marked “Finished”

See Player Statistics Configuration for detailed setup.

404 Errors?

Problem: Team, player, or game pages show 404 Not Found.

Solutions:

  1. Go to Settings > Permalinks
  2. Click Save Changes (no changes needed)
  3. This rebuilds URL rewrite rules

📚 Next Steps

Expand your league:

  • Add all teams and players
  • Schedule remaining games
  • Add game events for statistics

Learn more:

[PRO] Premium Features

Upgrade to Premium for advanced features:

🎊 You’re Ready!

You now have a working sports website with teams, players, games, and automatic standings. Continue adding data and exploring the plugin’s features to build your complete sports platform.