You've already forked wp-bootstrap
v0.2.0 - Design Editor: templates, patterns, header/footer variations
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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user