Every topic archive rendered its character art gate against the design master, which package-theme.sh deliberately strips, so production showed an empty stage on all eight of them. Gate on the derivative the markup actually loads instead. Nothing linked to a topic archive: the only filter was a select inside a form, invisible to crawlers and to anyone not looking for it. The stream now also lists the non-empty topics as links, marking the current one. Empty topics stay out, because a dead archive is worse than no link. Rank Math already owns the document head, so the theme's own og: tags were a second, conflicting set and core's title tag was a literal duplicate. Both now yield when an SEO plugin is active. Category archives listed the same posts as their topic at a second indexable URL. They now redirect to the same-slug topic, or the Journal. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
17 lines
533 B
JSON
17 lines
533 B
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 3,
|
|
"name": "chrnx/selected-work",
|
|
"version": "0.4.0",
|
|
"title": "Selected Work",
|
|
"category": "theme",
|
|
"description": "Hand-picked projects first, then the most recent ones.",
|
|
"textdomain": "chrnx",
|
|
"attributes": {
|
|
"limit": { "type": "integer", "default": 3, "minimum": 1, "maximum": 12 },
|
|
"headingLevel": { "type": "integer", "default": 3, "enum": [2, 3, 4, 5, 6] }
|
|
},
|
|
"supports": { "html": false },
|
|
"render": "file:./render.php"
|
|
}
|