[benecaster_rss_link]
Renders a link to a show’s public RSS feed. Suitable for embedding a “Subscribe via RSS” link in sidebars, footers, homepage widgets, or alongside platform badge links. Use style=“url” to output a bare URL string for use in custom markup — no anchor element is rendered.
Output filterable via benecaster_rss_link_output.
Parameters
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
show_id |
int |
(current show)
|
No | Show to link to. Defaults to the current show context or the parent show of the current episode. |
style |
string |
icon_link
|
No | Output style. icon_link — RSS icon + label text; icon — icon only (aria-label from label attr); link — text link only; url — bare URL string (no anchor element). |
label |
string |
Subscribe via RSS
|
No | Link text or aria-label. Default is translatable. |
icon_size |
int |
24
|
No | Width and height of the RSS SVG icon in pixels. Applies to icon_link and icon styles only. |
Example
<!-- Default: RSS icon + label text -->
[benecaster_rss_link]
<!-- Icon only -->
[benecaster_rss_link style="icon" label="RSS feed"]
<!-- Plain text link -->
[benecaster_rss_link style="link" label="Subscribe via RSS"]
<!-- Bare URL for use in custom markup -->
[benecaster_rss_link style="url"]
<!-- Specific show -->
[benecaster_rss_link show_id="2" style="icon_link"]