|
@@ -136,6 +136,23 @@ Considering moving the whole site from **davidawindham.com → davidwindham.com*
|
|
|
|
|
|
|
|
## Changelog
|
|
## Changelog
|
|
|
|
|
|
|
|
|
|
+- **2026-06-19** — **Phase 3 (branch `fse-migration`): FLIPPED to a block theme (hybrid).** Added
|
|
|
|
|
+ `templates/index.html` (Query Loop) → `wp_is_block_theme()` is now true. **Key mechanic (verified
|
|
|
|
|
+ by experiment):** WordPress picks the **most-specific** template; **on a tie the block template
|
|
|
|
|
+ wins**. So with our generic block templates present:
|
|
|
|
|
+ - **Block-rendered now:** posts (`single.html` ties+beats `single.php`), search, 404, blog index,
|
|
|
|
|
+ and *generic* plain pages (`page.html`). Verified 200, no fatals.
|
|
|
|
|
+ - **Still classic (more-specific wins):** homepage (`front-page.php` > `index.html`), `page-{slug}.php`
|
|
|
|
|
+ (studio/about/now/… > `page.html`), and `category.php`/`tag.php` (> generic `archive.html`).
|
|
|
|
|
+ - **Decision (user):** *embrace block styling* — generic pages adopt theme.json/core block styling
|
|
|
|
|
+ (plainer than the old Bootstrap `.entry-content` look; that's accepted). Comment form needs a look
|
|
|
|
|
+ (didn't render on a closed-comments post). Header/footer chrome stays Bootstrap (via the parts).
|
|
|
|
|
+ - **Migration is now incremental + safe:** to convert a page, author `templates/page-{slug}.html`
|
|
|
|
|
+ (tie-beats its `page-{slug}.php`), verify, then delete the classic file. `main` is still fully
|
|
|
|
|
+ classic — all this lives on the `fse-migration` branch.
|
|
|
|
|
+ - **Next:** refine the generic block templates to read cleanly; migrate the bespoke `page-*.php`
|
|
|
|
|
+ (studio/about/art/now/music/desk/archive/contact/analytics/sitemap) one at a time.
|
|
|
|
|
+
|
|
|
- **2026-06-19** — **Phase 3: header → FSE template part too.** Same bridge pattern as the footers:
|
|
- **2026-06-19** — **Phase 3: header → FSE template part too.** Same bridge pattern as the footers:
|
|
|
the header chrome (navbar + offcanvas nav) now lives in `parts/header.html`; `header.php` keeps
|
|
the header chrome (navbar + offcanvas nav) now lives in `parts/header.html`; `header.php` keeps
|
|
|
only the document `<head>` + `wp_head()` + `<body>` open (can't go in a block part) and then calls
|
|
only the document `<head>` + `wp_head()` + `<body>` open (can't go in a block part) and then calls
|