ranger a56fd7aff7 fix(0.3.2): play-button glyph baseline — drop dashicon for Unicode ▶ / ‖
The dashicon used for the play/pause icon was rendering visibly below
the button text — dashicon font metrics sit the glyph low inside its
own box, so even with `inline-flex` centering the symbol looked like
it was on a separate row from the word "Play".

Swap dashicons-controls-play / dashicons-controls-pause for plain
Unicode glyphs (▶ / ‖) which render on the text baseline like any
other character. Flex container changed to align-items: baseline.
font-variant-emoji: text on the glyph span to keep platforms that
might otherwise pick up an emoji variant of ▶ as monochrome text.

Files: radio.php (version), inc/admin-page.php +
inc/dashboard-widget.php (dashicon span → glyph span),
assets/css/radio.css (drop dashicon-sizing rule, add
.radio-player__play-glyph, baseline alignment),
assets/js/radio.js (setPlayIcon swaps glyph textContent instead of
dashicon className), inc/about.php (history entry).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-29 23:19:04 +01:00

Radio — SomaFM player for your WordPress dashboard

A small, focused, free WordPress plugin that drops a SomaFM radio player into your admin dashboard. 44 hand-curated stations across 10 genres — ambient, electronic, lounge, rock, metal, jazz, world, reggae, holiday, and specials.

What it does

  • Mini-player on WP Admin → Dashboard (opt-out via Settings)
  • Dedicated page at WP Admin → Radio → My Radio
  • Plays via HTML5 <audio> — no proxy server, no third-party tracking
  • Per-user state: each admin remembers their own station + volume
  • Self-hosted update checker against the Gitea repo

Installation

  1. Download the latest release .zip from git.davidtkeane.com/ranger/a-radio/releases
  2. WP Admin → Plugins → Add New → Upload Plugin
  3. Activate
  4. Look at WP Admin → Dashboard for the mini-player, or WP Admin → Radio

Requirements

  • WordPress 5.0+
  • PHP 7.4+
  • A modern browser (Chrome 90+, Firefox 88+, Safari 14+, Edge 90+)

Credits

All stations and streams are provided by SomaFM, an independent, listener-supported, commercial-free internet radio network broadcasting from San Francisco since 2000. If you enjoy this plugin, please consider donating to SomaFM directly.

License

GPL v2 or later. See LICENSE (the same GPL v2+ terms as WordPress itself).

Author

David Keane — part of the RangerHQ plugin family. rangersmyth.xyz

S
Description
No description provided
Readme GPL-2.0 1.2 MiB
Languages
PHP 59.3%
JavaScript 21.6%
CSS 19.1%