Albums were three hardcoded cards. An album is a chrnx_release term now, with cover, status and listening links; its archive is the album page with an ordered tracklist. A song is a post carrying lyrics and notes, its track number, and the audio. The player is a native audio element, no library and no JavaScript. Platform icons render only when a URL exists, so nothing points at a service the release is not on yet. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
16 lines
452 B
JSON
16 lines
452 B
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 3,
|
|
"name": "chrnx/release-list",
|
|
"version": "0.2.0",
|
|
"title": "Release List",
|
|
"category": "theme",
|
|
"description": "The No Names releases, each linking to its album page.",
|
|
"textdomain": "chrnx",
|
|
"attributes": {
|
|
"headingLevel": { "type": "integer", "default": 4, "enum": [2, 3, 4, 5, 6] }
|
|
},
|
|
"supports": { "html": false },
|
|
"render": "file:./render.php"
|
|
}
|