A 10% gift is waiting on your first Pro plan. Use code GIFT10 at checkout. See all offers
Players & pages

How to Add a Radio Player to Any Page, Post or Sidebar

Place your player with the Embed dialog, blocks, page builders, shortcodes, widgets, a sticky bar or on other websites.

On this page
  1. The quickest way: the Embed dialog
  2. Block editor
  3. Page builders
  4. Shortcodes
  5. Classic widgets
  6. Sticky player on every page [Pro]
  7. Embed on another website [Pro]

Once your player looks right, you can put it anywhere: on a page or post, in a sidebar, in your page builder, across the whole site or even on another website.

The quickest way: the Embed dialog#

Open the player in the builder and click Embed. Pick where you want it:

The Embed dialog on Add to a page with existing page and new page options
The Embed dialog. Pick a method on the left.
  • Preview: open the player on a blank page.
  • Add to page: insert the player into an existing page (at the end or at the top), or create a new page with just the player.
  • Block: step-by-step help for the block editor.
  • Shortcode: the shortcode for classic editors and page builders.
  • Theme code: PHP and JavaScript for theme developers.
  • Sticky bar [Pro]: follow visitors across the whole site.
  • External site [Pro]: an iframe or script for other websites.

Block editor#

  1. Edit a page or post and click +.
  2. Search for StreamSera and add the StreamSera Player block.
  3. Pick your player in the block sidebar. You can override the layout and theme per block.
The Block tab of the Embed dialog with three steps and the list of StreamSera blocks

More blocks are available: Now playing, Listen button, Station and Station list. With Pro you also get Schedule, Now & next, Recently played, Shows, Hosts, Track history and Charts.

StreamSera also adds block patterns: a hero player, a sidebar box and a station landing page. Find them under Patterns in the block inserter.

Page builders#

  • Elementor, Divi 4 and Divi 5: native StreamSera widgets and modules. Search for “StreamSera” in the builder’s element list.
  • Beaver Builder and Bricks: a StreamSera Player element.
  • Breakdance, Oxygen and any other builder: paste a shortcode into the builder’s shortcode or text element.

Shortcodes#

The Shortcode tab of the Embed dialog with the player shortcode and a copy button
ShortcodeWhat it showsPlan
[streamsera id="12"]A player you builtFree
[streamsera_now_playing station="5"]The current song, updating liveFree
[streamsera_listen_button label="Listen live"]A “Listen live” buttonFree
[streamsera_station station="5"]A station cardFree
[streamsera_stations columns="3"]A station directory with search and genre filtersFree
[streamsera_recently_played station="5"]The last tracks playedPro
[streamsera_schedule station="5" layout="week"]The show schedulePro
[streamsera_now_next station="5"]The show on air now and the next onePro
[streamsera_show] and [streamsera_shows]One show, or cards for your showsPro
[streamsera_host] and [streamsera_hosts]One presenter, or cards for your presentersPro
[streamsera_history station="5"]A searchable track historyPro
[streamsera_charts station="5" period="week"]The most-liked tracksPro

Replace the numbers with your own player or station ID. Settings → Integrations → Shortcodes lists every shortcode with its options and a copy button.

The Shortcodes list in Settings with filters for Player, Stations, Schedule and Hosts

Classic widgets#

On themes with classic widget areas, go to Appearance → Widgets and add a StreamSera widget to your sidebar or footer.

Sticky player on every page [Pro]#

A sticky player stays on screen while visitors browse your site. Set it up under StreamSera → Settings → Player → Sticky player.

The Sticky player settings with position, player, display rules and the Keep playing across pages switch
  • Position: bottom bar, corner or top bar.
  • Player: which player to show. It appears in the bar layout.
  • Show on: rules for where and when the bar appears, for example all pages, certain pages, post types, categories or URL patterns, only while on air, or between dates. Every rule must match.
  • Keep playing across pages: pages load in place so the music never stops while visitors click around.
  • Hide for logged-in editors.
A website page with the sticky player bar along the bottom of the screen
The sticky bar at the bottom of every page.

Embed on another website [Pro]#

Turn on Settings → Integrations → External embed. Every player then gets an External site tab in its Embed dialog with an iframe and a one-line script you can paste on any website.

The External site tab of the Embed dialog

Tip: Free and Pro: paste a station page link into another WordPress post and WordPress shows the player automatically.

Still stuck?Our team usually replies the same day. Open a private ticket and we'll help you sort it out. Open a ticket