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

@@ -7,9 +7,13 @@ A modern WordPress Block Theme built from scratch with Bootstrap 5. Features res
- **Bootstrap 5 Frontend** -- Proper Bootstrap 5 HTML (navbar, cards, pagination, grid) rendered via Twig templates
- **Dark Mode** -- Toggle with localStorage persistence and `prefers-color-scheme` support
- **Full Site Editing** -- Compatible with the WordPress Site Editor for admin editing
- **Block Patterns** -- 16 patterns across 7 categories (hero, features, CTA, testimonials, pricing, contact, text)
- **Block Patterns** -- 30+ patterns across 10 categories (hero, features, CTA, testimonials, pricing, contact, text, layout, components, navigation)
- **Block Styles** -- 17 custom styles mapping Bootstrap components to WordPress blocks
- **Style Variations** -- 4 color schemes: Ocean, Forest, Sunset, Midnight
- **Custom Templates** -- Landing (no header/footer), full-width, hero, sidebar page templates
- **Header/Footer Variations** -- Centered, transparent, minimal, multi-column variants
- **Navigation Styles** -- Dark navbar, offcanvas mobile navigation
- **Design Editor** -- Full compatibility with the WordPress Site Editor
- **Responsive** -- Mobile-first design with Bootstrap's responsive grid
- **Translation Ready** -- Full i18n support with `en_US` and `de_CH` translations
@@ -105,7 +109,7 @@ wp-bootstrap/
| +-- Twig/ TwigService singleton
+-- languages/ Translation files (.pot, .po)
+-- patterns/ Block patterns (PHP)
+-- parts/ FSE template parts (header, footer, sidebar)
+-- parts/ FSE template parts (header, footer, sidebar, variants)
+-- src/
| +-- js/ Source JavaScript
| +-- scss/ Source SCSS