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

Matchweeks Slides Shortcode

Pro Feature

Display matches organized by matchweek in a horizontal slider with navigation. Users can click through matchweeks to see all fixtures/results for each round. Ideal for competition pages where you want to show the full schedule by round.

Matchweeks slides shortcode - a matchweek picker above that round's games, each row showing the kick-off, both clubs with their badges, the expected-goals figures and the score

Premium Feature

This shortcode requires the Football Leagues Premium plugin.

Basic Usage

[anwpfl-matchweeks-slides competition_id="12"]

This displays all matchweeks from competition 12 in a navigable slider.

All Parameters

Query Parameters

Parameter Default Description
competition_id * (required) Competition ID to display matchweeks from
group_id (empty) Filter by group ID (for group stage competitions)
matchweek (auto) Starting matchweek number (auto-detects current)

Display Parameters

Parameter Default Description
show_club_logos 1 Show club logos. Use 0 to hide
show_match_datetime 1 Show match date/time. Use 0 to hide
club_links 1 Make club names clickable. Use 0 to disable
match_card slim Card style: slim or empty for default

Slider Options

Parameter Default Description
slides_to_show 4 Number of matchweek tabs visible in navigation

* Required parameter

Examples

Example 1: Competition Schedule Browser

When to use: Main competition page showing all rounds.

[anwpfl-matchweeks-slides competition_id="12"]

Result: Slider starts at current matchweek with navigation to all rounds.

Example 2: Start at Specific Matchweek

When to use: Force display of a particular round.

[anwpfl-matchweeks-slides competition_id="12" matchweek="15"]

Result: Opens directly to matchweek 15.

Example 3: Group Stage Display

When to use: Show specific group in Champions League style competition.

[anwpfl-matchweeks-slides competition_id="25" group_id="2"]

Result: Only matchweeks/matchdays for Group B.

Example 4: Compact Display

When to use: Smaller sidebar widget.

[anwpfl-matchweeks-slides competition_id="12" slides_to_show="3" show_club_logos="0"]

Result: Narrow navigation with text-only match cards.

Example 5: Wide Navigation

When to use: Full-width competition page.

[anwpfl-matchweeks-slides competition_id="12" slides_to_show="6" match_card=""]

Result: Shows 6 matchweek tabs with default card style.

Tip

The slider automatically detects and focuses on the “current” matchweek based on match dates. This makes it perfect for season-long competition pages that always show the most relevant round.

How It Works

  1. Navigation bar: Shows matchweek numbers/names as clickable tabs
  2. Content area: Displays all matches for the selected matchweek
  3. Auto-detection: Starts at current matchweek if not specified
  4. Responsive: Navigation adjusts based on screen size

Troubleshooting

No matchweeks appearing?

  • Verify matches have matchweek numbers assigned
  • Check that competition_id is correct
  • Ensure matches are published

Wrong starting matchweek?

  • Use matchweek parameter to force specific round
  • Auto-detection uses match dates – check match scheduling

Related