
外掛標籤
開發者團隊
原文外掛簡介
MBrickz FM Schedule is a lightweight radio schedule management plugin for WordPress.
Create, manage, and display your radio shows directly from your WordPress dashboard. The plugin provides a customizable, responsive schedule with automatic live status updates, show countdowns, and a public JSON interface for compatible external services such as ET-HOST.
Manage your schedule in one place without having to maintain separate schedules for your website and radio chat.
Features
Dedicated radio show management in the WordPress dashboard.
Classic editor for creating and editing show descriptions.
Show date, start time, and end time.
Support for shows that continue past midnight.
DJ or presenter name and music genre.
Show covers and presenter avatars from the WordPress media library.
Live preview of the show card directly in the editor.
Responsive schedule display for desktop, tablet, and mobile devices.
Chronological sorting by show date and start time.
Configurable pagination through plugin settings and shortcode parameters.
Option to display all available shows without pagination.
Automatic live status updates when scheduled shows begin.
Live status indicator with a subtle pulsing red dot.
Automatic removal of finished shows from the frontend without reloading the page.
Dynamic schedule and pagination updates across all schedule pages.
Optional global countdown to the next upcoming show.
Individual countdown shortcodes for specific radio shows.
Countdown display with days, hours, minutes, and seconds.
Automatic singular and plural countdown unit labels.
Server-synchronized countdowns and schedule status updates.
Support for reduced motion preferences.
Customizable background, text, accent, secondary text, and border colors.
Adjustable border radii for show cards, covers, and presenter avatars.
Restore default design settings at any time.
Theme-based font inheritance in the frontend.
Extended dashboard overview with show covers, dates, times, presenters, genres, and schedule status.
Sortable columns in the show overview.
Show IDs and copyable individual countdown shortcodes in the show overview.
Automatic return to the show overview after publishing a new show.
Public, read-only JSON REST API.
JSON format designed for compatibility with ET-HOST.
Translation-ready, with translations managed through WordPress.org.
Optional complete removal of plugin data on uninstall.
Display your schedule
Add the following shortcode to any page or post:
[mbrickzfm_schedule]
The shortcode uses the pagination settings configured under Schedule > Settings.
By default, pagination is enabled and five shows are displayed per page.
To override the number of shows per page:
[mbrickzfm_schedule limit="3"]
To display all available shows without pagination:
[mbrickzfm_schedule pagination="false"]
To enable pagination independently of the global settings:
[mbrickzfm_schedule pagination="true"]
To enable pagination with a specific number of shows per page:
[mbrickzfm_schedule limit="3" pagination="true"]
Explicit shortcode parameters override the corresponding global plugin settings.
Supported limits range from 1 to 100 shows per page.
When pagination is disabled, the limit parameter is ignored and all available shows are displayed.
The shortcode supports the WordPress block editor through the Shortcode block.
Configure pagination
Navigate to Schedule > Settings and locate the Schedule Pagination section.
The following settings are available:
Shows per Page: Number of shows displayed on each page.
Pagination: Enable or disable schedule pagination.
The default number of shows per page is five.
Pagination is enabled by default.
When pagination is disabled, all current and upcoming shows are displayed on a single page.
Pagination is automatically updated when scheduled shows end, including when the finished show is located on another schedule page.
If the currently displayed schedule page is no longer available, the schedule automatically displays the last available page.
Explicit shortcode parameters take precedence over the global settings.
Automatic live show status
The frontend schedule automatically updates the status of scheduled radio shows.
Before a show begins, its scheduled date and broadcast times are displayed.
When the scheduled start time is reached, the date and time display is replaced by a Live now indicator with a pulsing red dot.
When the scheduled end time is reached, the show is automatically hidden from the frontend schedule.
The schedule and pagination are subsequently refreshed in the background without requiring a full page reload.
The live status feature works independently of the global countdown setting.
The plugin respects the visitor’s reduced motion preference by disabling the pulsing animation when reduced motion is requested.
The live status is based on the configured schedule, not on the actual status of an audio stream.
Global show countdown
The optional global countdown displays the remaining time until the next scheduled radio show begins.
To enable the global countdown, navigate to Schedule > Settings and locate the Show Countdown section.
Enable the Global Countdown option.
The countdown is displayed below the schedule and its pagination, if applicable.
Only one global countdown is displayed per schedule shortcode.
The countdown always targets the next upcoming show, independently of the currently displayed schedule page.
The countdown includes:
Show title.
Presenter name, when available.
Scheduled show date and start time.
Remaining days, hours, minutes, and seconds.
When the target show begins, the global countdown automatically switches to the next upcoming show, if available.
If no upcoming shows are available, the global countdown is hidden.
The global countdown is disabled by default.
Individual show countdowns
Individual countdowns can be displayed independently of the main schedule using the following shortcode:
[fmsched_cnd id="123"]
Replace 123 with the ID of the desired radio show.
The show ID and its individual countdown shortcode are available in the radio show overview in the WordPress dashboard.
Before the scheduled start time, the shortcode displays a countdown to the selected show.
During the scheduled broadcast time, the countdown changes to a Live now display with a pulsing red dot and the scheduled end time.
After the scheduled show ends, the countdown is automatically hidden.
Individual countdowns work independently of the global countdown setting.
Multiple individual countdowns can be displayed on the same page.
Countdown labels automatically switch between singular and plural forms according to the displayed value.
Both global and individual countdowns use the configured schedule design and inherit the font family of the active WordPress theme.
Customize your design
Navigate to Schedule > Settings to customize the appearance of your schedule and countdowns.
Available design settings include:
Background color.
Text color.
Accent color.
Secondary text color.
Border color.
Show card border radius.
Cover border radius.
Presenter avatar border radius.
The frontend inherits its font family from your active WordPress theme.
The default design can be restored at any time.
Live editor preview
The radio show editor includes a live preview of the show card.
Changes to the title, description, date, times, genre, presenter, cover, and avatar are reflected in the preview without saving the show first.
The preview uses the configured schedule colors and border radii. Fonts and some layout details may differ from the public website because the preview is displayed inside the WordPress administration area.
JSON REST API
MBrickz FM Schedule provides a public, read-only REST API endpoint:
/wp-json/mbrickzfm/v1/schedule
The endpoint returns current and upcoming published shows in chronological order.
The JSON response contains a list named “shows”.
Each show contains the following required fields:
date
from
to
title
The following fields are included when available:
dj
cover
avatar
The date format is YYYY-MM-DD. Times are provided in HH:MM format using the WordPress site timezone.
The JSON endpoint is independent of frontend pagination and returns all valid, current and upcoming published shows.
Drafts, password-protected shows, incomplete shows, and finished shows are excluded.
The complete endpoint URL is available under Schedule > Settings.
Countdown REST API
The plugin provides an additional public, read-only REST API endpoint for countdown synchronization:
/wp-json/mbrickzfm/v1/countdown
The endpoint provides the current server timestamp and information about the next upcoming show when the global countdown is enabled.
To retrieve countdown information for a specific radio show, use the id parameter:
/wp-json/mbrickzfm/v1/countdown?id=123
Replace 123 with the ID of the desired radio show.
Individual show countdown requests are independent of the global countdown setting.
The frontend uses this endpoint to synchronize countdowns and schedule status updates with the server clock.
The countdown endpoint does not replace or modify the existing JSON schedule endpoint used by compatible external services.
ET-HOST integration
The JSON interface is designed to match the documented JSON schedule format supported by ET-HOST.
Copy the JSON endpoint URL from the plugin settings and configure it as an external schedule source in your ET-HOST radio chat.
The plugin does not require an ET-HOST account to manage or display schedules on your WordPress website.
An ET-HOST account and a compatible chat configuration are required to use the external schedule integration.
Updates are retrieved by ET-HOST according to its own caching and refresh behavior.
For more information about ET-HOST, visit:
https://et-host.de/
External services and privacy
MBrickz FM Schedule works independently within WordPress.
The plugin does not send data to external services, collect analytics, or transmit visitor information to third parties.
The frontend countdown and dynamic schedule features communicate with the WordPress website on which the plugin is installed.
If you choose to connect an external service such as ET-HOST, that service can retrieve the public JSON schedule endpoint.
The public REST endpoints expose published schedule information, including show titles, dates, times, presenter names, image URLs, and countdown-related timestamps.
Only publish information intended for public access.
No external service is required to use the schedule management, countdown, or frontend display features.
