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

Missing Players Shortcode

Pro Feature

Display a table of players who have missed matches due to injury, suspension, or other reasons, along with their accumulated cards. Perfect for squad availability tracking, match previews, or club management pages.

Missing players shortcode, cards section - a grid with one row per player and one column per opponent, marking the yellow and red cards each player picked up over the season

Premium Feature

This shortcode requires the Football Leagues Premium plugin.

Basic Usage

[anwpfl-missing-players club_id="8" competition_id="12"]

This displays missing players for club 8 in competition 12.

All Parameters

Query Parameters

Parameter Default Description
club_id (empty) Club ID to show missing players for
competition_id (empty) Competition ID
season_id (empty) Season ID (shows all competitions in season)
season_grouped 1 Group all season matches. Use 0 to separate by competition

Display Parameters

Parameter Default Description
sections (all) Sections to show: missed, cards, or empty for both
all_players 0 Show all squad players. Use 1 to enable
finished_only 1 Only finished matches. Use 0 to include upcoming
show_date 1 Show match dates. Use 0 to hide

Examples

Example 1: Club Injury Report

When to use: Club page showing current availability.

[anwpfl-missing-players club_id="8" competition_id="12" sections="missed"]

Result: Shows only players who missed matches (injuries, suspensions).

Example 2: Card Accumulation Tracker

When to use: Track cards to monitor suspension risk.

[anwpfl-missing-players club_id="8" competition_id="12" sections="cards"]

Result: Card accumulation table only.

Example 3: Season Overview

When to use: Full season availability across all competitions.

[anwpfl-missing-players club_id="8" season_id="5" season_grouped="0"]

Result: Separate tables for each competition in the season.

Example 4: Full Squad Card Status

When to use: Show every player’s card count, not just those with cards.

[anwpfl-missing-players club_id="8" competition_id="12" sections="cards" all_players="1"]

Result: All squad players listed with their card counts.

Tip

For identifying players at risk of suspension (e.g., one yellow card away from a ban), use the [anwpfl-suspension-risk] shortcode instead.

Troubleshooting

No missing players showing?

  • Verify missing player data is entered for matches
  • Check that matches have been marked as finished
  • Review the club_id and competition_id parameters

Related