Projects were hardcoded h3 elements in a pattern: no URL, no feed, no search, uneditable without touching PHP. They follow the podcast model now, a chrnx_topic term plus posts. Adds a chrnx_project_featured flag with an editor toggle so the stage lists chosen projects first and fills with the most recent. Sticky was already spoken for by the home featured stories, so the choice needed its own signal. journal-stream gains a pinned topic attribute, reusing the archive filter, pagination and empty state it already had. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
18 lines
547 B
JSON
18 lines
547 B
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 3,
|
|
"name": "chrnx/journal-stream",
|
|
"version": "0.2.0",
|
|
"title": "Journal Stream",
|
|
"category": "theme",
|
|
"description": "The filterable chronological journal.",
|
|
"textdomain": "chrnx",
|
|
"attributes": {
|
|
"headingLevel": { "type": "integer", "default": 2, "enum": [2, 3, 4, 5, 6] },
|
|
"topic": { "type": "string", "default": "" }
|
|
},
|
|
"supports": { "html": false, "align": ["wide", "full"] },
|
|
"style": "file:./style.css",
|
|
"render": "file:./render.php"
|
|
}
|