Shortcodes & Blocks


Your competition, team and match pages already show everything. Shortcodes and blocks put the same sections anywhere else: a compact table in the sidebar, the next match on your home page, a live protocol inside a news post. The plugin has 11 of each, and every shortcode has a block twin that draws exactly the same HTML. The Shortcodes page builds a shortcode for you and shows it before you paste it. This page lists them all with every attribute, the sidebar controls of each block, and the rules they share.

🚀 Quick start

With the block editor:

  1. Open a page or post and click the + inserter.
  2. Scroll to the Speedway Leagues category, or type speedway in the search box.
  3. Add a block, for example League table.
  4. In the block’s sidebar, pick a Competition. The preview shows the table of its current season.
  5. Save. Visitors see the same table.

With a shortcode: build it on Speedway Leagues > Shortcodes (see Shortcode builder below), or type it with the competition’s ID. Then paste it into a Shortcode block, the classic editor, an Elementor Shortcode widget or any other place your theme runs shortcodes:

[anwpsw-standings competition="12"]

The IDs on this page (competition 12, season 58, team 25, match 140) are examples – use your own. How to find them is under Finding IDs below.

ShortcodeBlockWhat it shows
[anwpsw-standings]League tableA season’s league table – overall, home, away or all three as tabs – or a compact one
[anwpsw-classification]Final classificationA season’s final classification
[anwpsw-ties]Play-off tiesA season’s two-legged ties, all of them or one phase
[anwpsw-schedule]Fixtures and resultsA season’s matches by round or as one list, filtered by team, rounds or dates
[anwpsw-match]Match protocolOne match – header, heats and riders, updating live
[anwpsw-averages]Rider averagesA season’s rider averages, one team’s riders or the top N
[anwpsw-squad]Team squadA team’s squad for a season
[anwpsw-heat-scores]Heat scoresA team’s heat-score balance for a season: how many heats ended 5:1, 4:2, 3:3 and so on
[anwpsw-lineups]Line-upsA match’s line-ups – as announced, as saved now, or both with the changes marked
[anwpsw-match-next]Next matchA team’s or a competition’s next match, live first
[anwpsw-match-last]Last resultA team’s or a competition’s latest finished match

Finding IDs

A block’s pickers fill the IDs in for you, and so do the pickers on the Shortcodes page. A shortcode you type by hand needs them looked up:

  • Competition, team or match: the lists under Speedway Leagues > Competitions, Teams and Matches have an ID column. Or open the item: the address of its edit screen contains post=12, and that number is the ID.
  • Season: seasons don’t have their own list. On Speedway Leagues > Matches, click the season name in the Competition / season column – the address then ends with anwpsw_season=58. The Standings page shows it too: switch to the season in its Season list and the address gets season=58.

You’ll rarely need a season ID. Leave season out and the competition’s current season is used, so a table on your home page moves to next year by itself the day you mark the new season current (see Competitions & Seasons).

Shortcode builder

Speedway Leagues > Shortcodes builds a shortcode from the same pickers and switches a block has, shows it with your theme, and copies it. It’s the easy way in when you write pages in Elementor, the classic editor or a text widget, where there are no blocks. It needs the Manage settings and structure permission, which administrators have.

  1. Pick a shortcode in the list on the left. On a narrow screen the list is a Shortcode dropdown instead.
  2. Pick what it shows: a competition (or one of its seasons), a team or a match. Until then the bar says what’s missing, for example Pick a competition or a season to get the shortcode., and Copy Shortcode is off.
  3. Set the other options. They are the block’s options with the same names, and the shortcode’s section below says what each one does.
  4. Check the Preview, then click Copy Shortcode and paste it where you want it.
  • The shortcode holds only what you changed. An option left at its default isn’t written, because the shortcode fills it in by itself: a League table with only a competition picked is [anwpsw-standings competition="12"], never with table="overall" beside it.
  • Options appear when they apply. On the League table, Table shows only while Compact is off, and Highlight team only while it’s on. A hidden option never goes into the shortcode.
  • Seasons for Team squad and Heat scores. These two take a team and a season but no competition, so their form has an extra Competition (to list its seasons) picker. It only fills the season list and is never part of the shortcode.
  • Today. The From and To dates on Fixtures and results each have a Today checkbox. Tick it and the date field locks, and the shortcode gets today instead of a fixed date – see Fixtures and results below.
  • Extra CSS classes (folded under the options) adds the class attribute – see Your own CSS class.
  • Each shortcode keeps its own form while you’re on the page, so you can switch between two and back. Nothing is saved: the page only writes the shortcode for you.
  • If the browser won’t let the page use the clipboard, the shortcode is selected instead and the page says press Ctrl+C to copy it.

The preview

The preview is a page of your site with your theme’s fonts and colours, drawn with the same code visitors get. It reloads a moment after each change. Switch its width between Full, Content (760 px, a typical post column – the default) and Phone (390 px). Open in a new tab shows the same preview on its own.

When the shortcode can’t draw anything, the preview shows you the editor note from Only published things show, and the line under it says Only you see this note, as an editor. Visitors see nothing in its place. A Next match with nothing left to play shows its visitor message with Every visitor sees this line – it isn’t an error.

🎯 Rules every shortcode and block follows

Which season

  • season set: that season, whatever competition says.
  • Only competition set: its current season. A competition with no season marked current uses its newest one (by year, then the last created).
  • Team-based ones (squad, heat scores, next and last match with a team and no competition) follow the team page’s rule – see each one below.

Your club instead of an ID

Write site where an ID goes and the shortcode reads the club picked in Settings > Display > Your club (see Your club). An ID names a team on one site only. The word site names the club of whatever site the shortcode lands on, so it suits page templates and designs you copy from one site to another.

AttributeWheresite means
teamSquad, heat scores, next match, last result, fixtures, rider averagesYour club. On fixtures and averages with no competition or season, your club’s competition as well.
competitionLeague table, fixtures, rider averages, next match, last resultThe competition your club’s team page opens on. With season empty, that season too – so a club with a league and a friendlies season in the same year gets the league.
highlightLeague table (compact)Your club’s row, with the rows around it.
  • [anwpsw-schedule team="site" layout="flat"] – your club’s matches in its competition, one list by date.
  • [anwpsw-standings competition="site" compact="1" highlight="site"] – a compact table of your club’s league, centred on your club.
  • [anwpsw-averages competition="site"] – the whole league’s averages. Your club’s riders are marked, as on the season page.

Only team, competition and highlight take the word, in upper or lower case. With no club set, visitors see nothing and editors see the note no club is set – choose yours in Settings > Display > Your club. A club in no published season gives your club has no published season yet. wherever its competition is needed.

In the shortcode builder and in the blocks, each of these pickers has a Your club checkbox (Your club’s competition under Competition). Tick it and the picker locks. The shortcode then gets site, and a block keeps showing the right club when its page is copied to another site.

Only published things show

A shortcode shows a competition, team or match only when it’s published (no password), and a season only when its competition is. When it can’t draw anything – a draft team, a typo in an ID, averages before the first finished match – visitors see nothing at all: no box, no error. Logged-in users who can edit posts see a short note in a dashed box in its place instead, saying what’s wrong. The note never reaches visitors, and page caches don’t store it because they skip logged-in users.

The note says (after Speedway Leagues [anwpsw-…]:)What to do
check “season” – it takes an id number.An attribute has a value it can’t read. The note names the attribute and what it takes.
no published season – pick a published competition, or a season of one.No competition or season is given, the competition is a draft or has no season yet, the ID isn’t a competition, or the season belongs to an unpublished competition.
25 is not a published team.Publish the team, or check the ID.
140 is not a published match of a published competition.Publish the match and its competition, or check the ID.
pick a team (id). / pick a match (id). / pick a team or a competition.The attribute the shortcode needs is missing.
nothing to show yet.Everything is valid but there’s nothing to draw yet – averages before the first finished match, for example.

A few shortcodes have notes of their own; they’re listed in their sections below. Next match, Last result and Heat scores also show visitors a short message when everything is set up right but there’s nothing to show yet – see their sections too.

Attribute values

KindAcceptsEmpty means
IDDigits only, like 12 – or site on team, competition and highlight (Your club)Not set (0 too)
On / off1, true, yes, on – or 0, false, no, offOff
DateA real date as YYYY-MM-DD, like 2026-06-01, or todayNo limit
LimitA whole numberAll (0 and -1 mean all too)
A word from a listOne of the listed words, upper or lower caseThe default

An attribute that isn’t on a shortcode’s list is ignored.

Live updates

  • Match protocol: follows the meeting like the match page does. A scheduled match starts checking 30 minutes before kickoff (once a minute), a live one refreshes every 10 seconds and swaps in each heat as it’s saved. It stops at the finish.
  • Fixtures and results, Next match, Last result: a match row corrects itself from 15 minutes before kickoff until 24 hours after it. A live row shows the Live pill and the score with the leader in bold, and at the finish it turns into the result. Rows don’t show a heat count.
  • League table, Final classification, Play-off ties, Rider averages, Team squad, Heat scores: show what was true when the page loaded. They change when a match is finished, so a reload after the finish shows them.
  • Line-ups: shows the line-ups as they were saved when the page loaded. A reload after a save shows the new ones.

Page caching

When a match starts or finishes, the plugin clears its own pages from your page cache: the match, its teams and its competition. It can’t know which of your other pages hold a shortcode or a block, so a cached home page keeps its old table until the cache expires (unless your cache plugin can only clear the whole site). Live rows and the match protocol still correct themselves in the browser, but the table, the averages and the choice of the “next” match wait for the cache. Clear that page by hand after a match day, or give it a short cache lifetime. More on the Page Caching page.

Your own CSS class

Every shortcode takes a class attribute, and every block has Advanced > Additional CSS class(es). Both put your classes straight onto the outer element the shortcode prints, with no extra wrapper around it, so your theme’s CSS can target that one table or card:

[anwpsw-standings competition="12" class="home-table"]

Separate several classes with spaces. Anything but letters, digits, - and _ is dropped from a class name. When the shortcode draws nothing for visitors, the class doesn’t add an empty box either. The class attribute isn’t listed again in each section below.

League table – [anwpsw-standings]

The season’s league table as the competition page shows it. Full (the default) draws the regular-season table – one per group – with its zones and tie-break notes, as the overall table, the home or away table, or all three behind tabs. Compact is made for a sidebar: just Pos, Team, M and Total, and a Full table link to the season on the competition page.

Changed in 0.3.0: the table only

Before 0.3.0 a full League table also showed the final classification and the play-off ties under the table. Now it prints the table only. If a page of yours used it for all three, add a Final classification block and a Play-off ties block under it (or the [anwpsw-classification] and [anwpsw-ties] shortcodes).

[anwpsw-standings competition="12"]
[anwpsw-standings competition="12" table="tabs"]
[anwpsw-standings competition="12" compact="1" highlight="25"]
[anwpsw-standings season="58" group="A"]
AttributeAcceptsDefaultWhat it does
competitionID–The competition. Its current season is shown unless season is set.
seasonID–A season – another year, or a season of a competition you don’t name.
groupLetters, digits, - and _, up to 20allOnly that group’s table, as typed in the match’s Group field (case ignored: a finds A).
tableoverall, home, away or tabsoveralloverall: the overall table. home / away: the table of home or away meetings only. tabs: all three behind Overall, Home and Away tabs, as on the competition page. Ignored with compact.
compactOn / off0The compact table.
highlightTeam ID–Compact only: in a table of more than five teams, five rows around this team, its own row marked, and a ··· row where the table is cut. Ignored without compact, and the whole table shows when the team isn’t in it.
  • The compact table shows the regular season only. With more than one group you get one small table per group, each titled Group A, Group B and so on.
  • Neither version names the competition or the season (the full one titles its sections Regular season and so on). Add a Heading block above it, or use your widget’s title.
  • Home and away tables count meetings only: no bonus points, no adjustments, and neutral-venue meetings are in neither. They’re ordered by Pts, then +/-, then heat points, with no zones or tie-break notes. A league ranked by meeting places rather than match results (U-24 style meetings) has no home and away tables, so it always shows the overall table.
  • The columns, their order and any custom columns follow Speedway Leagues > Settings, Tables tab – the same as on the competition page.
  • A group name with a space or another character (North A) can’t be picked here – the editor note says check “group”. Use letters, digits, - or _ in group names you want to show on their own.
  • Asking for a group the season doesn’t have gives the editor note the season has no group “C”.

The block’s sidebar (panel League table):

ControlAttribute
Competitioncompetition – picking another one empties the season
Season (empty = current)season – lists the picked competition’s seasons, newest year first
Group (empty = all)group
Compact (Pos, team, M, Total)compact
Table – shown only while Compact is off, with the help Home and away tables count meetings only – no bonus points.table – Overall, Home, Away or Tabs
Highlight team – shown only while Compact is onhighlight

How the table is counted – the bonus point, tie-breaks, play-off ties – is on the Standings Page guide.

Final classification – [anwpsw-classification]

The season’s final classification, the same list the competition page shows under the league table: every place, the team in it and how it got there (Final – winner, Regular-season order). A place a play-off tie hasn’t settled yet reads To be decided with the round it waits for.

[anwpsw-classification competition="12"]
AttributeAcceptsDefaultWhat it does
competitionID–The competition (its current season unless season is set).
seasonID–A season.

A season gets a classification once a play-off tie names the places it decides. Until then visitors see nothing, and editors see the season has no final classification yet – it fills in once a play-off tie names the places it decides. A league without play-offs never has one.

The block’s sidebar (panel Final classification): Competition and Season (empty = current), as on the League table block.

Play-off ties – [anwpsw-ties]

The season’s two-legged ties as cards, one section per phase with the latest round first: both teams with their aggregate heat points (the winner in bold), each leg with its date and score, and the result line. It’s the ties section of the competition page, so a league with a play-down can put its play-offs and its play-down on separate pages.

[anwpsw-ties competition="12"]
[anwpsw-ties competition="12" phase="final"]
[anwpsw-ties competition="12" phase="play-down"]
AttributeAcceptsDefaultWhat it does
competitionID–The competition (its current season unless season is set).
seasonID–A season.
phaseall, final, play-down or promotionallOnly the ties of one phase, as set in each match’s Phase field: final = Play-offs and finals, play-down = Play-down, promotion = Promotion play-off.

A season with no two-legged ties gives the editor note the season has no play-off ties., and a phase with none the season has no ties in phase “play-down”. Visitors see nothing in both cases.

The block’s sidebar (panel Play-off ties): Competition and Season (empty = current), then Phase with All, Play-offs and finals, Play-down and Promotion play-off.

Fixtures and results – [anwpsw-schedule]

A season’s matches, each row with the date and time, both teams with the score, the status when it isn’t plain (postponed, abandoned, cancelled) and the venue’s city (its name when it has no city). Each row links to the match page. You can cut the list by team, rounds, dates or a number of matches.

[anwpsw-schedule competition="12"]
[anwpsw-schedule competition="12" team="25" layout="flat"]
[anwpsw-schedule competition="12" rounds="current"]
[anwpsw-schedule competition="12" date_from="2026-06-01" date_to="2026-06-30"]
[anwpsw-schedule team="site" layout="flat" date_from="today" limit="6"]
AttributeAcceptsDefaultWhat it does
competitionID–The competition (its current season unless season is set).
seasonID–A season.
teamTeam IDallOnly this team’s matches.
roundsRound numbers separated by commas, or currentall1,2,3 keeps those rounds. current keeps the current round (below).
date_fromDate, or today–Matches on this day or later.
date_toDate, or today–Matches on this day or earlier.
limitLimitallThe first N matches of the list: in round order, or by kickoff with layout="flat".
layoutrounds or flatroundsrounds: a heading per round. flat: one list by kickoff, each row naming its round.
  • Round strip. With layout="rounds" and no filter but team, the list works like the competition page: a strip with one tab per round shows one round at a time. It opens on the round with a live match, else the latest round ridden, and a match from an earlier round that’s still to ride (postponed, say) moves up into From earlier rounds above the strip. Every tab is a plain link, so it works without JavaScript too. Any other filter shows every round under its own heading instead, and the flat list has no strip.
  • The current round is the round of the match the Next match shortcode would show (live first, then the next one to ride), or the round of the last finished match once nothing is left. Before any match has a date, editors see no dated match in this season yet, so there is no current round.
  • Round numbers restart in the play-offs, and rounds doesn’t look at the phase: rounds="1" keeps round 1 of the regular season and round 1 of the play-offs.
  • Dates are the kickoff day, both ends included. A match with no date drops out as soon as either date is set.
  • today is the day the page is viewed, in the site’s time zone (Settings > General), so the list moves on by itself: date_from="today" keeps what’s still ahead, date_to="today" what’s been ridden. A page cache keeps showing the day it saved the page on until it refreshes the page.
  • Limit counts from the start of the season, so limit="5" alone shows the first five matches ever ridden, not the next five. Combine it with date_from="today" or rounds="current". With layout="rounds" it counts in round order; with layout="flat" it counts by kickoff, the order the list prints in. So date_from="today" limit="6" layout="flat" is the next six meetings, even when a rained-off meeting got a date after later rounds.
  • When the filters leave no match, everyone sees No matches to show. The team chips above the competition page’s schedule aren’t part of the shortcode.

The block’s sidebar (panel Fixtures and results): Competition and Season (empty = current) as on the League table block, then Team (empty = all) → team, Layout with By round (rounds) or One list by date (flat), Current round only → rounds="current", Rounds (comma list, empty = all) → rounds (hidden while Current round only is on), From today → date_from="today" and Until today → date_to="today", the From and To date fields → date_from / date_to (each hidden while its today switch is on), and Limit (empty = all) → limit.

Match protocol – [anwpsw-match]

One match, as its own page shows it: the header with the teams and the score, every heat, and the riders’ tables. It follows a live meeting heat by heat (see Live updates), so you can put tonight’s match into a match-day preview post and it fills in by itself.

[anwpsw-match id="140"]
AttributeAcceptsDefaultWhat it does
idMatch ID–The match. Required. It and its competition must be published.

The block’s sidebar (panel Match protocol): one Match picker → id, with the help Newest first – type a team name to narrow. Each option shows the match name, its date and the competition.

More on match statuses and the match page: Matches.

Rider averages – [anwpsw-averages]

The season’s rider averages, highest first – the list from the end of the competition page, with the same sortable columns.

[anwpsw-averages competition="12" limit="10"]
[anwpsw-averages competition="12" team="25"]
AttributeAcceptsDefaultWhat it does
competitionID–The competition (its current season unless season is set).
seasonID–A season.
teamTeam IDallOnly the riders in this team’s line-ups this season. Each keeps their whole-season figures, rides for other teams included.
limitLimitallThe top N by average. A cut list ends with Top 10 of 16 riders. and a Full list link to the competition page.

Before the season’s first finished match there’s nothing to list: visitors see nothing, editors see nothing to show yet. How an average is counted is on the Rider Averages page.

The block’s sidebar (panel Rider averages): Competition, Season (empty = current), Team (empty = all) → team and Limit (empty = all) → limit.

Team squad – [anwpsw-squad]

A team’s squad for a season, the same section as on the team’s page: the riders with their flags, badges and season average.

[anwpsw-squad team="25" header="1"]
[anwpsw-squad team="25" season="58"]
AttributeAcceptsDefaultWhat it does
teamTeam ID–The team. Required.
seasonIDthe team page’s seasonA season’s squad. Empty follows the team page: the team’s current season (else its newest), or next season’s squad once you’ve saved one in the off-season – shown with a Next season label.
headerOn / off0Adds the team header above the squad: logo, name, city and the details from the team form.

A team with no squad saved for that season gives the editor note no squad saved for this team and season. Building squads, badges and the off-season rule are on Squads.

The block’s sidebar (panel Team squad): Team → team, Competition (to list its seasons), Season (empty = as on the team page) → season and Team header → header. The competition picker only fills the season list – the shortcode has no competition attribute, so it isn’t saved.

Heat scores – [anwpsw-heat-scores]

A team’s heat-score balance for a season, the same section as on the team’s page: how many heats ended 5:1, 4:2, 3:3, 2:4 and 1:5 for the team, each as a tile with its count, its share of all heats and a bar. Any other score seen (a heat with a fall or an exclusion, say) is a chip under Other scores, and a bar at the bottom adds up the heats won, drawn and lost.

[anwpsw-heat-scores team="25"]
[anwpsw-heat-scores team="25" season="58"]
AttributeAcceptsDefaultWhat it does
teamTeam ID–The team. Required.
seasonIDthe team page’s seasonA season. Empty follows the team page: the team’s current season, else its newest.
  • What counts: every ridden heat of the season’s finished two-team meetings, play-offs and super heats included. Bonus points don’t count. The line under the section says the same.
  • Before the first finished meeting everyone sees the heading and No finished meetings yet. (on the team page the section stays out until then).
  • A team with no meeting in that season gives the editor note the team has no meetings in this season. – visitors see nothing.

The block’s sidebar (panel Heat scores): Team → team, Competition (to list its seasons) and Season (empty = as on the team page) → season. As on the Team squad block, the competition picker only fills the season list and isn’t saved.

Line-ups – [anwpsw-lineups]

A match’s line-ups for a preview post, one column per team with the home team first. Every programme number gets a row: the rider’s flag, name and category badges, or Not named for a number nobody’s on. A Last 3 meetings column shows each rider’s points and bonus from the last three finished meetings of the season they rode in before this one, oldest first, with the opponent’s abbreviation (or initials) under the points when the meeting had one opponent. Above the columns sit the match name (linked to its page), the kickoff, the venue and the competition. A team announces its line-up with Save and announce in the match centre (see Match Centre). You don’t need the shortcode on the match page itself: before the meeting goes live it already shows the line-ups, with the changes marked.

[anwpsw-lineups match="140"]
[anwpsw-lineups match="140" version="both"]
[anwpsw-lineups match="140" version="current" form="0"]
AttributeAcceptsDefaultWhat it does
matchMatch ID–The match. Required. It and its competition must be published.
versionannounced, current or bothannouncedannounced: the copy each team announced, headed Announced line-ups. A team that hasn’t announced yet shows its numbers empty, under Not announced yet. current: the line-ups as they’re saved now, headed Line-ups. both: the line-ups as saved now, with every number whose rider changed since the announcement marked.
formOn / off1The Last 3 meetings column. A rider with fewer than three meetings gets a – for each missing one.
  • Changes in both: a changed number carries a Change mark and says what was announced there: for Jan Kowalski when another rider took the number, Jan Kowalski was announced when it’s empty now, or added after the announcement when it was empty then. A status change alone (a rider set to absent, say) isn’t a change – only a different rider on the number is.
  • The line under the columns (announced and both) says when the line-ups were announced, in your site’s date and time format and time zone: Announced 14 November 2026, 19:42. when both teams announced at the same moment, else one sentence per team, like Riverside Hawks announced 14 November 2026, 19:42. A team that changed its line-up since gets , last change and that time added. On a scheduled match the line ends with Line-ups can change until the first heat.
  • Announced again? The newest announcement replaces the team’s copy and its time.
  • What it shows is what was saved when the page loaded. It doesn’t follow saves live – reload to see a later save. Before the meeting starts, a line-up save or announcement clears the match page, its team pages and the competition page from the page caches the plugin knows, the same way a finish does. A news post holding the block is its own page, so a cache that clears page by page keeps it until it expires or you clear it.
  • A match where neither team has a line-up gives the editor note neither side has a line-up yet. With version="announced" (the default) and no team announced yet, the note is no side has announced its line-up yet – “Save and announce” in the match centre. Visitors see nothing in both cases.
  • The words Announced line-ups, Line-ups, Not announced yet, Not named and Change can be changed on the Texts tab of Settings.

The block’s sidebar (panel Line-ups): one Match picker → match, with the help Newest first – type a team name to narrow., then Version → version with As announced, Current and Both (help: A side is announced with “Save and announce” in the match centre. “Both” shows the line-up now, the changes since the announcement marked.), and Last 3 meetings → form, on by default.

Next match and Last result – [anwpsw-match-next], [anwpsw-match-last]

One match row, the same row the fixtures list draws, with its round named in it. Give it a team for a club site’s home page, or just a competition for a league site.

[anwpsw-match-next team="25"]
[anwpsw-match-last team="25" competition="12"]
[anwpsw-match-next competition="12"]
AttributeAcceptsDefaultWhat it does
teamTeam ID–This team’s matches. Without it, the whole competition’s.
competitionID–The competition (its current season unless season is set).
seasonID–A season.

Both use one season’s matches. With competition or season that’s the season you named. With only a team, it’s the season the team page shows – the team’s current season, or its newest. A club in a league and a cup should add competition, so the shortcode knows which one you mean.

Which match is “next” and “last”

  1. Next: a live match first.
  2. Else the earliest scheduled or postponed match dated today or later (your site’s day, from the timezone in WordPress Settings).
  3. Else, when nothing is ahead, the oldest scheduled or postponed match with a past date. A rained-off meeting keeps its old date until you set a new one: it doesn’t hide this weekend’s fixture, but it still counts as a match to ride.
  4. A scheduled or postponed match without a date is never picked.

Last is the finished match with the latest kickoff. Abandoned and cancelled matches are skipped. When there’s nothing to show, everyone – visitors too – sees No match left to ride this season. or No results yet this season. in place of the row. Both texts can be changed on the Texts tab of Settings.

The row has no heading of its own (screen readers hear Next match or Last result). Put a Heading block above it with the words you want.

The blocks’ sidebar (panel Next match or Last result): Team → team, with the help Empty = the whole competition., then Competition and Season (empty = current).

Working with the blocks

  • The preview is the real thing. The editor asks your site for the block’s HTML and shows it with the plugin’s styles, so what you see is what visitors get. Until the block knows what to show, it shows a placeholder instead, such as Pick a competition in the block settings.
  • Pickers search as you type and list up to 30 results at a time. They also list drafts, so you can set a block up before the competition goes live. The preview then shows the editor note, and visitors see the block the moment the competition is published.
  • The season picker lists the seasons of the picked competition, newest year first. Without a competition it stays empty and says Pick a competition to list its seasons.
  • A shortcode and its block are interchangeable. Same attributes, same HTML. Switching from one to the other changes nothing on the page.

When the picker is a plain number field

Searching competitions, teams and matches needs the plugin’s Manage settings and structure permission, which administrators have (see Reporters). An Editor or an Author can still add and edit the blocks: each picker turns into a notice and a number field where you type the ID. The block renders the same.

  • Without the permission: Your account can’t search here – type the id instead. The block still renders.
  • With the licence not active: Search is off while the licence isn’t active – type the id instead. The block still renders. Shortcodes and blocks keep working on your site either way.

Changing how they look

  • Words: the column names, Full table, Full list, Top 10 of 16 riders., No matches to show. and the other words on your site can be changed under Speedway Leagues > Settings, Texts tab.
  • Colours and corners: helmet colours, neutral or club-coloured team marks, your club’s highlight in tables, fixtures and averages, and the corner radius of cards and tiles are on the Display tab.
  • Table columns: the order and the shown columns of the league table and the rider averages, custom columns and column backgrounds are on the Tables tab of the same page.
  • Layout: each shortcode has its own template (shortcode/standings.php, shortcode/classification.php, shortcode/ties.php, shortcode/schedule.php, shortcode/averages.php, shortcode/squad.php, shortcode/heat-scores.php, shortcode/lineups.php, shortcode/match-card.php for next and last). The match protocol uses the match page’s template, and shortcode/lineups.php draws the match/lineups.php part that the match page uses too. Copy one into your theme to change it.

🆘 Troubleshooting

You seeWhy, and what to do
Nothing where the shortcode should beLog in and open the page: the editor note says why. Usually it’s a draft competition or team, or an ID that belongs to something else.
The shortcode text itself, brackets and allThat place doesn’t run shortcodes. Use a Shortcode block, or the matching block.
The classification and the play-off ties are gone from under the league tableSince 0.3.0 the League table prints the table only. Add a Final classification block and a Play-off ties block under it.
Last year’s tableThe new season isn’t marked current yet, or the shortcode has a season attribute that pins it. Remove season to follow the current season.
Next match shows a meeting from weeks agoIt’s a postponed or scheduled match with a past date and nothing else is ahead. Give it its new date, or set it to cancelled.
Next match shows the league, not the cupWith only a team, the shortcode uses one season. Add competition for the one you want.
The table on the home page is out of date after a matchYour page cache still has the old page. Clear it – the plugin clears only its own pages.
limit="5" shows the first matches of the seasonLimit counts from the start of the season. Add date_from="today" (with layout="flat" for the next five by date) or rounds="current".
A Line-ups block shows nothing, and the editor note says no side has announcedIt shows the announced copy by default. Click Save and announce in the match centre, or set Version to Current (version="current").
The Line-ups block still shows the old line-upA line-up save clears the match page from your page cache, not the posts holding the block. Clear that post in your cache plugin, or reload while logged in to check.
There’s no Shortcodes item under Speedway LeaguesThe page needs the Manage settings and structure permission and an active licence. Shortcodes you already placed keep working without either.
The picker is a number field with a noticeYour account can’t manage the plugin, or the licence isn’t active. Type the ID, the block works the same.
  • Public Pages – the competition, team, rider and match pages these shortcodes borrow from.
  • Standings Page – how the league table, the bonus point and the play-off ties are counted.
  • Rider Averages – what goes into an average.
  • Squads – building a team’s squad and its badges.
  • Match Centre – entering and announcing line-ups.
  • Matches – kickoffs, rounds, groups, postponed and cancelled matches.