v0.2.0 - Design Editor: templates, patterns, header/footer variations
All checks were successful
Create Release Package / PHP Lint (push) Successful in 57s
Create Release Package / Build Release (push) Successful in 1m23s

Full Design Editor compatibility with custom block categories, page templates,
header/footer variations, and navigation styles. Both FSE (admin) and Twig
(frontend) sides kept in sync.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-02-08 16:05:29 +01:00
parent cb288d6e74
commit cc8dc9d357
53 changed files with 13863 additions and 39 deletions

View File

@@ -82,7 +82,14 @@ class TemplateController
}
if (is_page()) {
return 'pages/page.html.twig';
$slug = get_page_template_slug();
return match ($slug) {
'page-landing' => 'pages/landing.html.twig',
'page-full-width' => 'pages/full-width.html.twig',
'page-hero' => 'pages/hero.html.twig',
'page-sidebar' => 'pages/page-sidebar.html.twig',
default => 'pages/page.html.twig',
};
}
if (is_archive()) {