Shortcodes
MediaBlaster provides shortcodes for embedding video and subscription UI in WordPress pages and posts.
Video player
[tv-video-player]
Embeds the HTML5 HLS/MP4 player for the current post context. Use on single video templates or with post ID context as supported by your theme.
When subscriptions are enabled, playback respects Subscription Access rules.
Subscribe page
[wpst_subscribe]
Lists active subscription tiers with price, billing interval, trial days, and Subscribe buttons (Stripe checkout when configured).
Optional attribute:
[wpst_subscribe tier="3"]
Shows only tier ID 3.
Requires: subscriptions enabled, user logged in for checkout buttons, Stripe enabled with mapped Price IDs.
Single-tier checkout button
[wpst_stripe_checkout tier_id="1" button_text="Subscribe Now"]
Optional attributes: class, success_url, cancel_url.
Account page
[wpst_account]
Shows the logged-in user's subscription status, renewal/trial dates, cancel-at-period-end notice, and Manage Billing (Stripe Customer Portal) when applicable.
Typical page setup
| Page slug | Shortcode |
|---|---|
/subscribe/ | [wpst_subscribe] |
/account/ | [wpst_account] |
| Video landing pages | [tv-video-player] |
Match slugs to Subscribe page slug and Stripe redirect URLs under Payment Providers.
Logged-out visitors
Subscribe and checkout shortcodes show a login/register prompt with links to wp_login_url() and registration when the user is not signed in.