Sponsors
The [sponsors] shortcode displays a grid or randomized list of sponsor logos from the Sponsors post type, with optional filtering by sponsorship level and configurable image dimensions.
Requires SportsPress Pro with a Club, League, or Agency license. The Sponsors module must be enabled.
What It Displays
A grid of sponsor logo images, each linked to the sponsor's URL. An optional title heading is displayed above the logos. When orderby="rand" is set, logos are loaded via AJAX on every page load for true randomization.
When to Use It
Use on any page, post, or widget — no id is required. The shortcode queries the sponsor post type directly. Filter by level to display only sponsors at a particular sponsorship tier.
Parameters
Parameter | Type | Default | Description |
| string/null |
| Heading text to display above the sponsor logos. Omit or leave empty for no heading. |
| integer |
| Sponsorship level term ID to filter by. |
| integer |
| Maximum number of sponsors to display. |
| integer |
| Maximum display width in pixels for each logo image. |
| integer |
| Maximum display height in pixels for each logo image. |
| string |
| How to sort sponsors: |
| string |
| Sort direction: |
| string |
| WordPress image size to use for logo thumbnails. |
Usage Examples
Minimal — all sponsors in menu order:
[sponsors]
Sponsors with a heading, filtered to level 3, random order:
[sponsors title="Our Sponsors" level="3" orderby="rand"]
Gold-tier sponsors only, custom dimensions, limited to 6:
[sponsors level="2" limit="6" width="300" height="150"]
All sponsors sorted alphabetically (requires ordering by title):
[sponsors orderby="title" order="ASC"]
