A WordPress block theme ships an update. The theme developer ships a new version of parts/header.html with a re-thought navigation. The site updates. Some sites see the new header, some sites still see the old one. The team cannot figure out why the behavior is inconsistent until they discover that some pages had been edited in the Site Editor and have their own copy of the header part in the database, while others fall through to the theme file. The conflict map and the resolution below clarify the precedence rules and how to align the site after an update.
What’s happening
In WordPress Full Site Editing, template parts (headers, footers, sidebars, etc.) live in two places:
- The theme files:
wp-content/themes/your-block-theme/parts/header.htmland similar. These are the developer’s defaults, version-controlled with the theme. - The database: when an editor opens the Site Editor and modifies a template part, WordPress saves a copy as a
wp_template_partcustom post. The database copy now takes precedence over the theme file for that part name.
This is the FSE override pattern by design — editors can customize template parts without touching the theme files. But it creates a subtle conflict:
- A theme update modifies
parts/header.htmlin the files. - A site that has the unmodified header part will see the new header (the theme file is the source).
- A site whose editor previously customized the header will still see the customized version (the database copy is the source).
The same theme update produces different visible results on different sites, depending on whether the template part was ever edited. Multiply by a multisite network or an agency portfolio and the inconsistency becomes operational — one of the recurring puzzles in enterprise WordPress hosting operations on FSE estates.
How to verify
Identify which template parts are sourced from the database vs the theme:
# database-stored template parts
wp post list --post_type=wp_template_part --fields=ID,post_name,post_title
# get the slugs of theme-provided parts
ls wp-content/themes/$(wp theme list --status=active --field=name)/parts/
For each wp_template_part post, the post_name matches a parts/<slug>.html file in the theme. If the post exists, the database version wins.
To see which template parts are referenced from a given template:
wp post list --post_type=wp_template --fields=ID,post_name --format=ids \
| xargs -I {} wp post meta get {} --field=wp_template_part_block_references
Or grep the template HTML directly:
grep -oE 'wp:template-part[^/]+slug":"[^"]+"' wp-content/themes/your-theme/templates/*.html
The fix
The resolution depends on whether you want the theme update’s new version or the existing customized version to win.
To take the theme update’s new version on a customized site:
- Open the Site Editor → Template Parts → find the customized part.
- Click “Clear customizations” (or the “Reset” option in the part’s menu). This deletes the database copy.
- WordPress now reads the part from the theme file, picking up the update.
Alternatively, delete the wp_template_part post directly:
wp post delete <ID> --force
To keep the customized version and ignore the theme update:
- Do nothing — the database copy already wins. The theme update is visible only if you reset.
To reconcile across a multisite or agency portfolio:
- Pick the canonical template part HTML. Either the theme file’s new version or one specific site’s customized version.
- For each site, either reset the customization (to fall back to the theme file) or paste the canonical HTML into the Site Editor (to update the database copy).
- Optionally: package the canonical version as a theme update of its own — modify the theme’s
parts/header.htmlto the agreed-upon content, then ensure all sites reset their database copy.
The prevention pattern, going forward:
- Document, per site, which template parts are intentionally customized. The list lives in your operational runbook.
- When the theme ships an update, the runbook tells you which parts to expect to differ and which to reset.
- For agency portfolios with many sites on the same theme, consider a parent theme + child theme structure where the child theme owns the canonical customizations rather than each individual site customizing in the Site Editor. We use this structure on every multi-site WordPress hosting account.
For FSE-based WordPress sites where template part inheritance has become operationally confusing, Stack Harbor includes template-part inventory and reconciliation as part of enterprise WordPress hosting operations. Book a WordPress consult if your block-theme estate has become harder to reason about with each theme update.