Half the journal is Spanish, but every route declared en-US, so screen
readers pronounced Spanish posts with English phonetics and crawlers
indexed them as English. The chrnx_language taxonomy already recorded the
answer per post and nothing read it.
Map its terms onto the html lang attribute for single posts and for the
language archives, replacing only the language so dir and any plugin
attribute survive. Posts with no language term keep the site default.
Also stop advertising a comments feed. Comments are unsupported theme-wide,
yet the head still linked one, because feed_links_extra also fires for old
posts carrying a non-zero comment_count. The core filter covers both that
and the site-wide link while leaving topic, author and search feeds alone.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Rank Math moves _wp_render_title_tag off wp_head into its own
rank_math/head block, but it does not know about the block-theme renderer
that replaced it, so both rendered. The previous release removed the
block renderer and kept the relocated one, which fixed the duplicate but
left the page depending on a plugin that may print nothing at all: Rank
Math skips its entire frontend until its setup wizard completes, and in
that state the page had no <title> and no social tags.
Remove the relocated copy instead. Both carry the same text, since Rank
Math supplies it through pre_get_document_title, and the block renderer
survives when the plugin is absent or silent. The removal needs no guard:
with no Rank Math, rank_math/head holds no callbacks.
For the same reason chrnx_has_seo_plugin() now asks whether an SEO plugin
actually printed its head, not whether one happens to be installed.
Verified against a real Rank Math install in all three states: emitting,
installed but silent, and absent. One title every time, never zero.
The subscribe call to action now also runs on Pages and archives, so the
Journal and the topic archives can convert, and it skips the Subscribe
page itself rather than linking there from there.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The duplicate <title> survived the last release. Block themes swap
_wp_render_title_tag for _block_template_render_title_tag, so removing
the classic callback matched nothing and both titles kept rendering.
locate_block_template() registers the replacement during template_include,
after `wp` and template_redirect, so wp_head at priority 0 is the earliest
point where it can be removed before it runs.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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>
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>
About and Projects had a figure floating on a CSS gradient while Music
and Podcasts had a whole world behind theirs. They get their own
landscape backdrop, which is what made the four read as one series.
Adds placeholder art for a release without a cover and a post without a
featured image, composited over the per-topic accent so a grid of
missing images still varies. Tracks borrow their album cover first.
The generated inventory grows to 76 files. Placeholders encode at lower
quality because they sit at half opacity behind text, which kept the
payload inside its budget instead of raising it again.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Reading settings take an HTTPS endpoint and the email field name, so
the form posts straight to Buttondown, Mailchimp, MailerLite or
anything else without the theme picking one. Without an endpoint the
block renders nothing rather than a form that goes nowhere.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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>
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>
The single/page/404 templates set contentSize to 70ch, which resolves
against each child's own font size: the display-size h1 asked for
~2660px and broke full bleed while the body stayed narrow. They now
inherit the 720px from theme.json.
Also drops the About facets that duplicated the portrait, adds the
missing prefers-color-scheme branch for the character stage copy
surface (dark text on a dark panel in System light), loads
components.css in the editor, and replaces the unstyled index
fallback with the journal stream.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>