Privacy

Will WordPress theme changes survive an update? Child themes and Site Editor layers

Identify file-based and database customizations, understand template and style priority, and plan a child-theme transition or update without blind resets or compatibility promises.

Made by Pagember · Editorial policy

Primary sources + editorial analysisPublished Updated Sources

The short answer

It depends on where each customization is stored. Direct edits to parent theme files can be replaced by an update, while layouts and styles saved in the Site Editor are generally stored in the database and override theme defaults. A child theme protects separate files but does not move existing changes into it, so inventory each layer, back up files and database, and test the update first.

On this page11 sections

Whether a WordPress customization survives an update depends on where it is stored. A direct edit to a parent theme file can be replaced. A layout or style saved through the Site Editor is generally stored in the database and can override theme defaults. Creating a child theme does not automatically move every existing customization into it.

WordPress official logo above a conceptual layers diagram: Parent theme, Child theme, Saved editor changes.

This guide helps you identify those layers, choose an appropriate method and verify a theme update or child-theme transition safely. Official WordPress documentation was checked on October 13, 2026.

Separate content, templates, styles and custom code

Start with an inventory of what you changed and how you changed it. Editing an article's text is different from changing the shared template that displays articles. Changing typography through Styles is different from editing theme.json on disk.

ChangeLayer to investigateMain update question
Article text and ordinary page contentSaved content recordsDoes the updated presentation still display it correctly?
Site Editor template/layoutUser-saved template and active theme contextWhich saved version overrides the theme file?
Site Editor global stylesUser style configurationWhich user choices override new theme defaults?
Direct parent file editInstalled parent theme filesWill replacing those files remove the edit?
Child-theme code or templateSeparately maintained child filesDoes the override remain compatible with the updated parent?

Other plugins and theme-specific controls may store their own data. Identify their documented mechanism rather than putting every customization in the same category. Keep the active theme name, parent/child relationship and relevant version information with the inventory.

Understand what a child theme protects

The WordPress child-theme handbook describes inheriting a parent while keeping custom theme files separately. This lets the parent be updated without directly overwriting those separate child files. It does not make their code immune to incompatible parent changes.

A child theme can be useful for maintained template overrides, theme assets or presentation code that needs its own file-based package. It is not automatically necessary simply because somebody used the Site Editor to change colors or a layout.

For a hypothetical magazine, changing the article template through the editor may be an appropriate site-level customization. If you are moving to a different theme altogether, the checklist for switching themes without losing work covers the wider inventory. Building a reusable custom template and font package for several installations may justify a maintained child theme. Choose by the storage and maintenance requirement, rather than treating child-theme activation as a universal safety switch.

Know why a file change may not appear

The template handbook describes the block-template lookup order: a user-saved template in the database, then an applicable child-theme file, then the theme's file. A database customization can therefore continue to display even after a maintainer edits a matching child template.

This is not necessarily a caching defect. First confirm that you edited the template assigned to the affected page and determine whether a saved customization is taking precedence. Repeatedly uploading the same file cannot remove an unrelated higher-priority saved version.

Headers and footers can be separate template parts. The template-parts reference explains those reusable components. Changing an article template does not establish that its referenced header part also changed. Inspect the component actually responsible for the visible difference.

Account for user styles above theme defaults

WordPress's Global Settings and Styles overview places user configuration above core, parent-theme and child-theme JSON defaults. It also notes that filters can dynamically modify values. A child theme's new palette or spacing default may therefore be overridden by a choice already saved for the site.

The theme.json introduction distinguishes settings and styles in that configuration. Treat the file as one input into the result, rather than a direct record of every current choice on the website.

For the hypothetical magazine, record whether the intended heading font comes from the theme default, a selected variation, a user style or a block-specific setting. Inspect the resulting public CSS when the layers disagree. A typography control that looks correct in one editor view is not proof that every template has the same computed presentation.

Treat selecting a style variation as a real change

The style-variation handbook explains that a selected variation's JSON becomes user customization in the database. Its saved choices can override the main theme defaults, and an updated variation file does not simply replace an already saved selection.

Do not switch variations back and forth as a casual troubleshooting step on the public site. Record the existing design and preserve its data first. A different variation can intentionally replace choices, which is a separate action from applying a parent update.

If a maintainer wants a file-based change to become the site's new default, define which user overrides should remain and which should be deliberately replaced. Keep that decision scoped; clearing all global styles to reveal one new default can remove unrelated approved design work.

Plan a parent-to-child transition rather than assuming migration

Activating a child theme changes the active theme context. Do not assume every saved style, template assignment, menu relationship or theme-specific option will automatically reappear exactly as it did under the parent. Test the actual transition on a protected copy.

Preserve the current files and database, then compare the parent state with the proposed child state. List the customizations that need to remain site-level data and those that should be deliberately packaged into files. Use a supported export/development workflow for that purpose and inspect the output.

Create a child theme or export changes with Create Block Theme

For block themes, the free Create Block Theme plugin from WordPress.org is the supported way to turn Site Editor work into files. Run it on staging first; the plugin itself warns that its changes can alter your site or theme permanently.

  1. Install and activate the plugin, then open Appearance → Editor. Its panel opens from the icon to the right of the Save button.
  2. To start a child theme, choose Create Theme → Create Child Theme. It creates a new theme with your active theme as the parent.
  3. To keep a copy of the current design as files, use Export Zip. The zip is a theme package you can store with your records or install on another site.
  4. If you deliberately want the editor changes written into the active theme's files, use Save Changes. Only do this on a theme you maintain yourself; a parent theme update would still replace those files.
  5. Activate the child theme on staging and compare templates, styles, fonts and menus with the parent version before doing the same on the live site.

For a classic theme, a child theme is still a folder in wp-content/themes/ with a style.css header that names the parent in a Template: line, as the child-theme handbook shows.

Check image and font dependencies too. A copied template can still refer to an asset in the wrong location. A file named style.css does not mean its rules are automatically loaded correctly; the child-theme handbook explains that stylesheet loading depends on the parent's approach. Avoid copying an enqueue recipe without checking that arrangement.

Do not copy the parent's functions file wholesale

The theme-functions reference explains the role of functions.php and distinguishes theme-specific behavior from functionality better placed in a plugin. The child and parent functions files are both loaded; the child file does not simply replace the parent's file.

Copying the parent's function declarations into the child can cause duplicate names and fatal errors. A maintainer should use the intended hooks and extension points, maintain unique names and review load order. A tutorial fragment is not a complete compatibility assessment of your theme.

For functionality that should continue when the visual theme changes, consider its appropriate plugin location. That is an architectural decision, not a request to move working code at random. Preserve its dependencies and tests, and follow the plugin audit workflow before changing ownership.

Use reset only when you intend to lose that customization

The Template Editor documentation explicitly warns that Reset clears the chosen template's customizations. It is not a harmless refresh. Preserve the version you may need before using it to reveal the underlying theme template.

The Site Editor guide also describes style revisions and reset controls. Review the scope shown by the interface. Restoring one template, resetting global styles and deleting a user-created template are different operations with different consequences.

For the magazine example, if only the article template should inherit a new parent layout, compare the saved and new versions first. Decide whether to merge a specific improvement or reset that template. Do not reset the footer and typography merely because they share the same editor.

Verify an update against a recoverable baseline

The WordPress backup handbook covers the separate files and database needed to preserve a site. A theme export or copied block template is useful for a particular design task, but is not a complete restorable site backup.

Before a material update, confirm the backup's scope and a recovery method, then use protected staging to test the current customization layers. Managed hosts such as Kinsta include a staging environment with each site, and BlogVault staging works on most other hosts. Review update notes, apply the intended update and compare representative journeys rather than only the homepage screenshot.

  • Check the homepage, article, archive, search and relevant special templates.
  • Verify header/footer parts, navigation, image/font references and links.
  • Inspect narrow and wide layouts, readable typography and keyboard access.
  • Test forms and other features affected by theme-provided markup or scripts.
  • Confirm that saved content and assignments remain correct.
  • Record any new parent improvements masked by maintained overrides.

Our navigation guide and typography checks help with those specific paths. An intact child file or database record is not proof that the updated site still behaves correctly.

Keep an ownership record for the next update

Record where each significant customization lives, why it overrides a default and who maintains it. Keep the baseline and any scoped reset or migration decision with the change record. This makes “why did the new template not apply?” answerable without guesswork.

The practical rule is storage-aware maintenance: separate custom files when needed, preserve database customizations deliberately and test their combined result. A child theme reduces one overwrite risk; it does not replace backups, controlled migration or compatibility verification.