Shortcode Reference
The EnaCast plugin provides 10 shortcodes to display your radio station’s content in WordPress. Each shortcode has optional attributes to customise its behaviour.
Programs
Section titled “Programs”[enacast_programs] — Program List
Section titled “[enacast_programs] — Program List”Displays a grid with all the station’s programs. Includes a search bar, filters and pagination.
| Attribute | Description | Default Value |
|---|---|---|
onair | Show only on-air programs (1) or all (empty) | 1 |
featured | Show only featured programs (1) | empty |
search | Search text | empty |
per_page | Results per page | 20 |
page | Current page | 1 |
Example:
[enacast_programs onair="1" per_page="12"][enacast_program] — Program Detail
Section titled “[enacast_program] — Program Detail”Displays the full profile of an individual program, including logo, description, schedule (with start and end times) and its latest episodes. Includes a “See all episodes” link to browse the complete episode list.
| Attribute | Description | Default Value |
|---|---|---|
codename | Program identifier | (from URL parameter) |
show_podcasts | Show the program’s podcasts (1/0) | 1 |
podcast_count | Number of podcasts to display | 10 |
Example:
[enacast_program codename="myshow" show_podcasts="1" podcast_count="5"]ℹ️ Note: you usually do not need to specify
codename. The detail page receives the?program=codenameparameter automatically from the programs list.
Podcasts
Section titled “Podcasts”[enacast_podcasts] — Episode List
Section titled “[enacast_podcasts] — Episode List”Displays a grid of episodes (podcasts), ordered from newest to oldest. Includes search and program filter.
| Attribute | Description | Default Value |
|---|---|---|
program | Filter by program codename | empty (all) |
search | Search text | empty |
per_page | Results per page | 20 |
page | Current page | 1 |
Example:
[enacast_podcasts program="myshow" per_page="12"][enacast_podcast] — Episode Detail
Section titled “[enacast_podcast] — Episode Detail”Displays the full profile of an episode with audio player, time markers, summary and metadata. The player is EnaCast’s own and only offers the download link when the station and the program allow it in EnaCast Studio. Includes breadcrumb navigation showing the parent program name with a link back to the program detail page.
| Attribute | Description | Default Value |
|---|---|---|
id | Public podcast identifier | (from URL parameter) |
Example:
[enacast_podcast id="myradio_podcast_12345"][enacast_news] — News List
Section titled “[enacast_news] — News List”Displays published news/articles, with filters by tag, year, month and search.
| Attribute | Description | Default Value |
|---|---|---|
tag | Filter by tag | empty |
search | Search text | empty |
year | Filter by year | empty |
month | Filter by month | empty |
per_page | Results per page | 20 |
page | Current page | 1 |
minimal | Hide the filter bar (true/false) | false |
Examples:
[enacast_news tag="culture" per_page="10"][enacast_news minimal="true" tag="culture"][enacast_news_article] — News Article Detail
Section titled “[enacast_news_article] — News Article Detail”Displays a full article with featured image, body, tags and metadata. Includes a “Back to news” navigation link at the top.
| Attribute | Description | Default Value |
|---|---|---|
id | Public news identifier | (from URL parameter) |
slug | News slug (alternative to id) | empty |
Example:
[enacast_news_article slug="new-season-2025"]Broadcast Schedule
Section titled “Broadcast Schedule”[enacast_schedule] — Weekly Schedule
Section titled “[enacast_schedule] — Weekly Schedule”Displays the weekly broadcast schedule in a grid format with all 7 days, including times, logos and links to each program. Includes week-by-week navigation.
| Attribute | Description | Default Value |
|---|---|---|
week | ISO week number | current week |
year | ISO year | current year |
Example:
[enacast_schedule]ℹ️ Note: in most cases you do not need to specify any attributes. The shortcode automatically displays the current week and allows navigation with the arrows.
Now Playing
Section titled “Now Playing”[enacast_now_playing] — Now Playing
Section titled “[enacast_now_playing] — Now Playing”Displays the program currently being broadcast, with an auto-refresh option.
| Attribute | Description | Default Value |
|---|---|---|
show_next | Also show the next program (1/0) | 0 |
refresh | Auto-refresh interval in seconds (0 to disable) | 0 |
Example:
[enacast_now_playing show_next="1" refresh="60"]Events
Section titled “Events”[enacast_agenda] — Event List
Section titled “[enacast_agenda] — Event List”Displays the station’s upcoming events, with tag filter.
| Attribute | Description | Default Value |
|---|---|---|
tag | Filter by tag | empty |
per_page | Results per page | 20 |
page | Current page | 1 |
Example:
[enacast_agenda tag="concerts" per_page="10"]Custom Page
Section titled “Custom Page”[enacast_page] — EnaCast Custom Page
Section titled “[enacast_page] — EnaCast Custom Page”Displays the content of a custom page created in the EnaCast admin panel.
| Attribute | Description | Default Value |
|---|---|---|
slug | Custom page slug | empty |
Example:
[enacast_page slug="about-us"]AJAX Filtering
Section titled “AJAX Filtering”The list shortcodes ([enacast_programs], [enacast_podcasts], [enacast_news], [enacast_agenda]) include automatic AJAX filtering: filters, search and pagination work without reloading the page. The URL is automatically updated to allow sharing filtered links.
Station for personalized links: