[benecaster_tier_price]
Outputs the current price for a membership tier, read live from wherever the show’s plans live: the plan’s own prices on Memberships → Tiers for a show using Benecaster’s built-in membership, or the membership plugin otherwise. Updates automatically when the price changes, with no page editing. Returns the raw price number as text, with no currency symbol and no thousands separator. A built-in membership price is written at its currency’s own precision: 9.99 for USD, 1500 for JPY and other currencies without cents, 5.130 for KWD and other three-decimal currencies. A membership-plugin price has no currency and is written at two places. A trailing zero is kept (9.50); only an all-zero fraction is dropped (15). A plan marked free returns 0. Returns an empty string if the tier is not found or has no price set. Output filterable via benecaster_tier_price_output.
One number per shortcode. A plan with several billing periods returns the one marked default, which is the same headline figure [benecaster_subscribe] and [benecaster_pricing_table] show for it. It cannot show a plan’s other billing periods, so to quote monthly and annual side by side, type the non-default figure into the page yourself.
On a membership-plugin show, the price comes from the plugin the show uses today. A tier is priced through its mapping to that plugin’s level. Mappings kept from a plugin the show switched away from are ignored, because each plugin numbers its levels independently, so a tier mapped only under the old plugin returns an empty string until you map it in the current one. When a tier maps to several of the current plugin’s levels, the first in your tier-map order is used. The price never falls back from one membership system to another.
Parameters
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
show_id |
int |
— | No | ID of the show whose tier to look up. Optional: with no show_id, a show page uses that show, an episode page uses its show, and anywhere else a single-show site uses its only show. On a multi-show site, on a page that is neither, it renders an inline HTML comment error. |
tier |
string |
— | Yes | Tier slug whose price to output. Required. |
Example
<!-- Embed price inline in prose copy -->
Join for just $[benecaster_tier_price tier="premium"]/month.
<!-- Use in a styled pricing block -->
<span class="price">$[benecaster_tier_price tier="founding"]</span>