Display player transfer records with filtering by club, season, competition, or date range. Shows incoming and outgoing transfers with multiple layout options. Perfect for transfer news sections, club pages, or season reviews.
Premium Feature
This shortcode requires the Football Leagues Premium plugin.
Basic Usage
[anwpfl-transfers club_id="8" season_id="5"]
This displays all transfers for club 8 in season 5.
All Parameters
Query Parameters
| Parameter | Default | Description |
|---|---|---|
club_id |
(empty) | Club ID to show transfers for |
season_id |
(empty) | Season ID |
competition_id |
(empty) | Competition ID |
player_id |
(empty) | Player ID (shows all transfers for a player) |
type |
(all) | Transfer type: in (incoming), out (outgoing) |
window |
(all) | Transfer window: pre (pre-season), mid (mid-season), none (not set) |
limit |
0 | Maximum transfers to show (0 = all) |
Date Filter Parameters
| Parameter | Default | Description |
|---|---|---|
date_from |
(empty) | Start date (YYYY-MM-DD) |
date_to |
(empty) | End date (YYYY-MM-DD) |
days_offset |
(empty) | Dynamic start date. Use negative for past (e.g., -14 = 14 days ago) |
days_offset_to |
(empty) | Dynamic end date. Use 0 for today, positive for future |
Display Parameters
| Parameter | Default | Description |
|---|---|---|
layout |
club | Layout: club, competition, competition-compact, player |
link |
0 | Show profile links. Use 1 to enable |
order |
ASC | Sort order by date: asc (oldest first), desc (newest first) |
Layout Comparison
The five layouts show the same moves at different densities. Pick club or player for a single entity, and one of the competition layouts for a whole league:
club
competition
competition-compact
rows
Examples
Example 1: Club Transfer History
When to use: Club page showing all season transfers.
[anwpfl-transfers club_id="8" season_id="5" layout="club" link="1"]
Result: All transfers for the club with player profile links.
Example 2: Incoming Transfers Only
When to use: Show new signings section.
[anwpfl-transfers club_id="8" season_id="5" type="in" order="desc"]
Result: Only incoming transfers, newest first.
Example 3: Summer Window Transfers
When to use: Show pre-season transfer activity.
[anwpfl-transfers season_id="5" window="pre" layout="competition"]
Result: All pre-season transfers across all clubs.
Example 4: Player Transfer History
When to use: Player profile page showing career moves.
[anwpfl-transfers player_id="150" layout="player"]
Result: All transfers for the specified player.
Example 5: Recent Transfers by Date Range
When to use: Latest transfer news widget.
[anwpfl-transfers date_from="2024-01-01" date_to="2024-01-31" limit="10" order="desc"]
Result: Last 10 transfers in January 2024.
Example 6: Rolling 2-Week Window
When to use: Auto-updating recent transfers widget.
[anwpfl-transfers days_offset="-14" days_offset_to="0" limit="10" order="desc"]
Result: Transfers from the last 14 days, automatically updating daily.
Tip
Use the layout parameter to match the context: club for team pages, player for individual profiles, and competition for league-wide transfer roundups.
Troubleshooting
No transfers showing?
- Verify transfer records are entered in player profiles
- Check the season_id or date range parameters
- Ensure the club_id matches existing clubs
Related
[anwpfl-squad]– Current team roster (Core)[anwpfl-players]– Player listings (Core)



