Broadcast
Broadcasts turn any spot on your site into a self-managing promotion area. Set up a Broadcast once, drop content into its rotation, and Accelerate handles the rotation and measures how each piece performs — internal advertising, campaigns, and content promotion without touching templates every time.
Terminology#
- A Broadcast is the dynamic container that rotates through a collection of nested Global Blocks.
- A Broadcast Block is the block representation of an existing Broadcast — place it in any post or page, the same way you reuse a Global Block.
One placement, many promos
loading diagram…
You add a Broadcast Block to a page once, the same way you reuse a Global Block. Behind it, the Broadcast rotates through the Global Blocks you put in it: Promo A, B, and C, shown in turn. Each one is measured on its own, so you can see which promo in the rotation is pulling its weight, without touching the page again.
Managing Broadcasts#
The Broadcast Manager inside the Accelerate admin gives you one place to create Broadcasts, manage what's in each rotation, and see how the content performs. Adding a Broadcast to a page is as simple as inserting the Broadcast Block in the editor.
Using Broadcast in PHP templates#
When a theme template needs to render a Broadcast directly — a footer promotion area, a sidebar slot — use the helper function:
text
if ( function_exists( 'Altis\Accelerate\Broadcast\render' ) ) {
echo Altis\Accelerate\Broadcast\render( 120, 'footer-hero-broadcast' );
}- The first argument is the ID of the Broadcast to render.
- The second argument is an optional unique identifier for that placement, useful for telling instances apart in analytics and reporting.