[benecaster_platform_links]
Renders “Listen on” platform badge links for a show — links to podcast platform listings (Apple Podcasts, Spotify, etc.). Distinct from benecaster_social_links (social media profiles) and benecaster_rss_link (direct RSS subscription). Platform URLs are entered once per show in Settings → Show → General → Platform Links. Platforms with no URL entered are silently omitted from the output.
Built-in platform slugs: apple_podcasts, spotify, overcast, pocket_casts, castro, podcast_addict, amazon_music, youtube_music. Custom slugs derive their label from the slug value.
Output filterable via benecaster_platform_links_output.
Show context: On a single-show install, show_id is auto-resolved when omitted — place this shortcode anywhere on the site without an explicit ID. On a multi-show install, show_id is required on any page that is not a show or episode page; the shortcode renders nothing if the show cannot be determined.
Parameters
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
show_id |
int |
auto-resolved on single-show installs; required on multi-show installs outside show/episode context
|
No | Show to display platform links for. On a single-show install, omit to auto-resolve. On an episode page, resolves to the episode's parent show. |
style |
string |
buttons
|
No | buttons — labelled button links; icons — icon-only (aria-label set from platform name); list — plain linked list. |
platforms |
string |
(all configured)
|
No | Comma-separated platform slugs to include. Omit to show all configured platforms. The platforms attribute acts as a filter only, not an order specifier — display order follows the order entries appear in Settings → Show → General → Platform Links. |
Example
<!-- All configured platforms, default button style -->
[benecaster_platform_links]
<!-- Icon-only badges -->
[benecaster_platform_links style="icons"]
<!-- Apple Podcasts and Spotify only -->
[benecaster_platform_links platforms="apple_podcasts,spotify"]
<!-- Specific show, list style -->
[benecaster_platform_links show_id="2" style="list"]