[benecaster_episode_count]
Displays the number of published episodes for a show. Useful for social proof or header copy. Output is filterable via the benecaster_episode_count_output filter hook.
Parameters
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
show_id |
int |
current show
|
No | ID of the show to count. Optional: on a show or episode page it resolves to that show, and anywhere else on a single-show install to the only show. Needed only on a multi-show site, on a page that is neither a show nor an episode page. |
tier |
string |
— | No | Count only episodes accessible at this tier slug. Omit to count all episodes. |
label |
string |
— | No | Optional text appended after the number, e.g. 'episodes published'. |
Example
<!-- Simple count -->
[benecaster_episode_count show_id="3"]
<!-- Count with label -->
[benecaster_episode_count show_id="3" label="episodes and counting"]