v1.0.0
Soames is now a single plugin. The companion WordPress theme is no longer required: its
front-end redirect and its theme-support declarations moved here (ORBI-58), so installing
Soames is WPGraphQL → Soames, and you keep whatever theme you like. This mirrors how
Faust.js handles headless redirection.
Upgrading from 0.9.0
Nothing to do. The redirect takes over automatically and behaves the same, so the companion
theme becomes inert whether or not it stays active. You can switch to any theme at your
convenience — it will never render, because the redirect runs before template loading.
Added
- Front-end redirection in the plugin (
includes/frontend-redirect.php), on
template_redirect. Posts, pages and Knowledge Base articles redirect to their matching
address on the front-end site; everything else goes to its home page. - A "Front-end redirection" setting under Soames → Settings, on by default. Turn it off to
make WordPress serve its own theme again while debugging. It has no effect until a Frontend
Site URL is set. - A
soames_frontend_redirect_targetfilter — the escape hatch for requests the built-in
exclusions don't anticipate. Return''to leave a request alone. redirect.spec.ts— 13 e2e tests covering the mapping and, more importantly, every
exclusion: GraphQL, REST, wp-admin, previews,robots.txt, and both off-switches.
Fixed
- Posts redirected to a hardcoded
/blogregardless of the site's actual Posts page. The
Astro front end derives that base from WordPress's "Posts page" setting, so any install
using a different slug —news,articles— sent visitors to a URL the front end never
generates. Both sides now read the same setting, with the sameblogfallback. - Knowledge Base articles lost their path. The theme handled only posts and pages, so a
/docs/<slug>article fell through to the catch-all and landed on the front end's home
page. Any single item now keeps its path.
Changed
- All redirects are now 302, including the catch-all the theme issued as a 301. The
destination is a user-configurable setting, and a 301 is cached hard by browsers and CDNs —
changing the Frontend Site URL later would strand everyone who had hit the old one. post-thumbnailssupport is declared by the plugin onafter_setup_theme. It's theme-level
in WordPress, so without it the featured-image box vanishes when you leave the companion
theme.custom-logosupport was not carried over. Soames serves its logo from its own
soames_logo_idsetting, and nothing read thecustom_logotheme mod.