Symptom: I changed the footer in my theme’s code, deployed it, and nothing changed on the live site. The new CSS for it was there. The new markup wasn’t.
Cause: weeks earlier, I’d removed a link from the footer using the Site Editor. When you save a template part there, WordPress stores your version in the database, and from then on that copy wins over the theme’s file. Forever. No warning, no indicator on the front end. The file in GitGit Version control: a full history of every change to a set of files, with who, when and why, and the ability to roll back. becomes decoration.
What made it sneaky: my first reset attempt didn’t take, and I didn’t notice, because the saved copy happened to match the file exactly at the time. Identical output proved nothing.
Fix: Appearance → Editor → Patterns → Template parts → Footer → ⋮ → Reset (sometimes “Clear customizations”). The theme file takes over again.
Check it yourself: after a reset, verify with something only the file has. Add a harmless class or comment to the file, then look for it in the live page source:
<!-- in parts/footer.html -->
<p class="cv-runes from-file">...</p>
// then, in the browser console on the live site
document.querySelector('footer .from-file') !== null
Lesson: pick one source of truth per template part, code or Site Editor, and stick to it. If code is the source, treat the Site Editor’s Save button on templates like a change to production that nobody reviewed.
Applies to: WordPress block themes and the Site Editor (seen on WordPress 7.1). Checked October 2026.



