Skip to main content

Yoast SEO

Register SportsPress data as Yoast SEO replacement variables so that custom title and meta description templates can reference team names, taxonomies (league, season, venue, position), and other SportsPress fields. The extension is a lightweight bri…

Updated today

Yoast SEO

Register SportsPress data as Yoast SEO replacement variables so that custom title and meta description templates can reference team names, taxonomies (league, season, venue, position), and other SportsPress fields. The extension is a lightweight bridge — it adds no settings, no meta boxes, and no admin screens of its own.

What it does

The plugin hooks into Yoast SEO's wpseo_register_extra_replacements filter and registers:

  • %%sp_teams%% — replaces with team names for SEO title/description templates

  • %%{taxonomy}%% — registers a replacement for each SportsPress taxonomy registered in sportspress_taxonomies. Out of the box this includes league, season, venue, position, and role

Once registered, these tokens can be used anywhere Yoast SEO supports replacements — content type templates, taxonomy templates, and individual post overrides.

Requirements

  • Yoast SEO 14.0 or newer

  • SportsPress 2.4 or newer

When to use it

Use this extension when you want SportsPress data to flow into Yoast SEO's title and meta description templates without writing custom replacement variables yourself. Without this bridge, Yoast does not know about SportsPress taxonomies and cannot use them in templates.

Did this answer your question?