IBPSPORTS Football Studio
← Documentation

Shortcodes overview

Skip to main content

How to insert shortcodes, find IDs and use the options every shortcode shares.

What is a shortcode?

A shortcode is a short piece of text in square brackets, such as [ibpf-standings tournament_id="123"]. You paste it into a page or post, and on the website it is replaced by a league table, a fixtures list, statistics… The parts like tournament_id="123" are options: they tell the shortcode what to show and how.

Insert a shortcode

  • Fastest: copy a ready shortcode with the right IDs from the Shortcodes box on the Tournament Dashboard.
  • Block editor: click +, add a Shortcode block and paste the shortcode.
  • Classic Editor: paste it into the text, or click the Football Studio button in the toolbar (tooltip “IBPSports Football Shortcodes”), choose a shortcode, fill in the form and insert it.
  • Page builders and widgets: use their Shortcode element or the Shortcode widget.

[SCREENSHOT: Classic Editor with the Football Studio shortcode button]
Show: The toolbar menu opened from the Football Studio button, and the form of one shortcode (e.g. Standings) with its fields.
Highlight: The toolbar button.

Find an ID

Every league, season, tournament, team, player, match… has a number, its ID.

ID of Where to find it
League, season, tournament, team, player, match, stadium… Open the item in the admin. The ID is the number after post= in your browser’s address bar, e.g. post.php?post=123&action=edit.
Stage (stage_id) In the Shortcodes box of the Tournament Dashboard – the shortcodes there already contain it.
Group (group_id) Open the group with Edit on the Tournament Dashboard; the ID is the number after group_id= in the address bar.
Round (round_id) Open the round with Edit; the ID is the number after group_id= in the address bar. The Round Edit screen also shows a ready Knockout shortcode.

On the page of an item (e.g. a match page) the ID can be left out: the shortcode uses the item of that page.

Options most shortcodes share

Parameter Meaning
show_header Show the header band (1 or 0).
title Your own heading text.
team_link, match_link, player_link Link names to their pages (1 or 0).
layout Visual layout, where available (table, list, card…).
limit Maximum number of rows.
sections Which parts of a page to show (comma-separated).

All shortcodes

25 shortcodes with 149 parameters:

Shortcode What it shows Parameters
Match
[ibpf-match] Complete match view rendered as a stacked single layout. 3
[ibpf-match-header] Hero header: teams, crests, score, scorers, venue and referee. 2
[ibpf-match-info] Date, venue, referee and tournament meta for one match. 1
[ibpf-match-events] Goals, cards and substitutions list. 4
[ibpf-match-report] The written match report (post content). 1
[ibpf-match-lineup] Starting XI, bench and coaches for both teams. 4
[ibpf-match-stats] Side-by-side team statistics (possession, shots, fouls…). 1
Matches
[ibpf-matches] Filterable results/fixtures list in table, list or card layout. 21
Standings
[ibpf-standings] Round-robin standings for a tournament/stage/group. 15
Knockouts
[ibpf-knockouts] Match list of all knockout stages, one block per round, with the team that won the tie marked. 5
Team
[ibpf-team] Full team profile rendered as a single layout. 6
[ibpf-team-card] Compact team card with up to three meta fields. 2
Teams
[ibpf-teams] All teams of a tournament/stage/group in the chosen layout. 6
Teams Stats
[ibpf-teams-stats] Sortable team statistics table. 12
Player
[ibpf-player] Full player profile rendered as a single layout. 6
Players Stats
[ibpf-players-stats] Sortable outfield player statistics table. 14
[ibpf-players-stats-single] Leaderboard for one player metric (e.g. top scorers). 16
League
[ibpf-league] League hero plus its tournaments table. 3
Season
[ibpf-season] Season hero plus its tournaments table. 2
Tournament
[ibpf-tournament] Complete tournament page assembled from sections. 3
Tournaments
[ibpf-tournaments] List of tournaments with optional grouping. 4
Referee
[ibpf-referee] Referee profile with officiating record. 4
Staff
[ibpf-staff] Staff member profile and managerial record. 4
Venue
[ibpf-venue] Stadium profile with location and match data. 4
Venues
[ibpf-venues] All venues of a tournament/stage/group. 6

Related articles