Releases already had platform links; shows had none, so the Podcasts page could not point at Spotify or Apple. chrnx_show terms take a Spotify, Apple Podcasts and RSS URL now, rendered above the latest episode and only when a URL exists. The platform helper takes its definitions as an argument rather than always reading the release set: a podcast lives on Apple Podcasts, not Apple Music, and labelling it wrong would send people to the wrong service. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
16 lines
434 B
JSON
16 lines
434 B
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 3,
|
|
"name": "chrnx/show-links",
|
|
"version": "0.2.0",
|
|
"title": "Show Links",
|
|
"category": "theme",
|
|
"description": "Where a podcast show can be listened to, rendered only when a URL exists.",
|
|
"textdomain": "chrnx",
|
|
"attributes": {
|
|
"show": { "type": "string", "default": "" }
|
|
},
|
|
"supports": { "html": false },
|
|
"render": "file:./render.php"
|
|
}
|