Skip to main content

Event Results

The `[event_results]` shortcode displays the final score table for a completed event — one row per team with each result column (e.g. goals, points) and optional win/draw/loss outcome icons.

Updated today

Event Results

The [event_results] shortcode displays the final score table for a completed event — one row per team with each result column (e.g. goals, points) and optional win/draw/loss outcome icons.

What It Displays

A table with a "Results" caption (overridable via caption). Each row is a competing team with its result values across the configured result columns. If outcome columns are configured, the outcome label appears in the last column. The shortcode outputs nothing if the event status is not results.

When to Use It

Use on a single event page inside the Loop, or embed on any page with id. The shortcode reads the event's saved results, so the event must be published with results entered.

Parameters

Parameter

Type

Default

Description

id

integer

get_the_ID()

Post ID of the event. Required outside the Loop.

Note: The caption variable is read by the template internally if already set in scope. Display of team links follows the global Link teams setting. Scrollable table behavior follows the global Enable scrollable tables setting. No additional shortcode parameters are supported beyond id.

Usage Examples

Inside the Loop on a single event page:

[event_results]

Embedding a specific completed event's results on any page:

[event_results id="188"]

Did this answer your question?