A WordPress theme update should take a few minutes. It goes wrong when the edits you made over the years live in the wrong place, and the update quietly replaces them. This guide shows where customizations actually live, which ones survive, and nine easy steps to run a WordPress theme update without losing work or taking your site down.

Quick answer: For a safe WordPress theme update, take a full backup of files and database, test the update on a staging copy, keep all custom code in a child theme, read the changelog, compare overridden templates against the new parent files, test key pages and forms, then update live and keep a rollback plan ready.
In this guide
Why a WordPress theme update can erase your edits
Updating a theme replaces the theme’s folder with the new version. Anything you typed directly into those files goes with the old copy. WordPress’s own child theme documentation puts it plainly: if you add a function to the parent theme’s functions.php, “the next time your theme is updated, your function will disappear.”
That is the core risk. It is not a bug. It is how updates work. The theme author ships a full set of files, and your site receives them.
Edits can also survive an update and still cause trouble. A template you copied into a child theme months ago keeps overriding the parent, even after the parent changes. The result is a site that looks fine in the admin but runs old markup, or misses a fix. We cover that below.
Updates also help you. Theme authors ship security fixes, compatibility changes for new WordPress and PHP versions, and bug fixes. Skipping every update is not a plan. A careful, repeatable process is.
Where customizations live (and what survives)
Before any WordPress theme update, find out where your changes are stored. This table covers the usual places.
| Where the change lives | Survives a parent theme update? | Notes |
|---|---|---|
| Edited files inside the parent theme folder | No | Overwritten by the new version |
Child theme files (style.css, functions.php, templates) | Yes | Stays until you edit or delete it |
| Plugin code or a code snippets plugin | Yes | Independent of the theme |
| Content in the database (pages, posts, menus) | Yes | Not part of theme files |
| Customizer or Site Editor settings | Usually yes, but check | Stored in the database, but tied to the active theme |
| Site Editor changes to block theme templates | Usually yes, but check | Saved in the database as your version of the template |
The last two rows are the ones to test. The WordPress Customizer objects documentation says theme mod settings “are specific to a particular theme” (the other type, option settings, is stored site-wide in the wp_options table). Most theme settings use the theme mod type, but a theme or plugin can choose either. So switching to a child theme can make Customizer settings look reset. We did not test this for your specific theme. On a block theme, the developer handbook’s introduction to templates says changes users make in the Site Editor are saved in the site’s database, and that saving a template there overwrites the theme’s template file for that site. So a new parent version may not show up until you review those edits. Check both after any WordPress theme update or theme switch.
Per the WordPress developer handbook, block themes use HTML templates that users can edit in the Site Editor, with global styles in a theme.json file. Classic themes use PHP templates. Which type you run changes where to look.
9 easy steps for a safe WordPress theme update
1. Read the changelog and check requirements
Open the theme’s changelog or release notes. Look for security fixes, template changes, removed features, and minimum WordPress or PHP versions. A change to template files is the item that matters most if you have a child theme.
2. Take a full backup and prove it works
WordPress’s upgrade documentation says to back up before you start, and to back up both the database and all files. It calls verifying the backup “essential,” and warns that without a complete backup of files and database, a rollback is “near impossible.”
Do not trust a backup you have never restored. Check that the file exists, that it has a sensible size, and that your host or backup tool can restore it. Store a copy off the server.
3. Note what you changed
List your customizations before you touch anything. Open your child theme, if you have one, and write down each file. Check Appearance, then Customize, for Additional CSS. Check the Site Editor for edited templates and template parts. Note any code snippets in a plugin.
If you do not have a child theme and you edited the parent, this step is also your rescue plan. Download the current parent theme folder so you can compare it to the new one.
4. Update on a staging copy first
A staging site is a private copy of your site where you can test changes. Many hosts offer one-click staging, and some backup or management plugins do too. Features differ by host, so check yours.
Push a fresh copy of the live site to staging, run the WordPress theme update there, and look for problems. If it breaks, your visitors never see it. If your host has no staging, a local copy or a temporary subdomain works too. Block search engines from indexing it, and never leave a staging copy open to the public.
5. Move edits into a child theme
If you edited parent files directly, fix that before you update. The WordPress developer handbook explains that a child theme “includes everything from its parent theme by default,” so your changes can live outside the parent’s files.
Key facts from that page:
- The child’s
style.cssneeds aTemplateheader that matches the parent’s folder name exactly. - The child’s
functions.phpdoes not replace the parent’s. Both load, with the child’s loading first. - Do not copy code from the parent’s
functions.phpinto the child. Add only your own code. - If you add a template file with the same name as one in the parent, the child’s version is used.
- Some parent themes load their stylesheet, some do not. Check what the parent enqueues, then enqueue the child’s stylesheet if needed.
- Grandchild themes are not supported.
A child theme is one of the cleanest ways to keep customizations through every WordPress theme update. If you are not sure how to set one up, our custom WordPress theme development guide explains when to use a child theme and when a full custom theme makes more sense.
6. Compare overridden templates against the new parent
This is the step most guides skip. Every template you copied into the child theme freezes that file at the version you copied. If the new parent version fixes a bug or changes markup, your child copy ignores it.
For each overridden template:
- Open the child copy and the new parent file side by side.
- Use a diff tool (your code editor has one) to see what changed upstream.
- Merge needed changes into your child copy, keeping your own edits.
- If your override no longer serves a purpose, delete it and let the parent template load.
WordPress picks the first matching file in the template hierarchy found in the active theme. For a page, that order is a custom page template, then page-{slug}.php, then page-{id}.php, then page.php, then singular.php, then index.php. Knowing the order helps you spot which override is in effect.
7. Test the pages that make money
Do not only look at the homepage. Test the pages where a break costs you:
- Homepage, a blog post, a service or product page, and search results
- Contact forms and checkout, with a real test submission or test order
- Menus on desktop and mobile, including dropdowns
- Header, footer, and any custom templates or page builder layouts
- Console errors and PHP errors, if debugging is on in staging
Look at your site on a phone. Then run PageSpeed Insights on a key page before and after, and compare. If speed or layout shifts, read our guide to Elementor vs Gutenberg speed for the usual causes.
8. Apply the update on the live site
Once staging passes, update live at a quiet time. Take a fresh backup first, because content may have changed since the staging copy. Update only the theme, then check the same key pages. Do not bundle five plugin updates into the same window, because you will not know which change caused a problem.
On update order, sources do not agree. Some recommend core, then plugins, then themes. Others update one item at a time and test between each. One-at-a-time is the safest way to find a cause, and it is what we suggest on customized sites.
9. Keep a rollback plan and monitor afterward
A rollback plan is a written answer to one question: how do I get back to the last working state in ten minutes? It usually means restoring the backup, or replacing the theme folder in wp-content/themes with the previous copy through your host’s file manager or SFTP.
If the site breaks, WordPress’s upgrade page suggests deactivating non-default plugins and reactivating them one at a time to find the culprit. After a successful update, watch the site for a day or two. Check forms, error logs, and Search Console for new errors.
Should you turn on automatic theme updates?
WordPress lets you enable auto-updates per plugin, and the same idea exists for themes. The upgrade documentation notes that, by default, plugin and theme auto-updates happen only in special cases such as critical security patches chosen by WordPress.org, while minor core releases update automatically.
For a heavily customized site, turning on blanket theme auto-updates is risky. An unattended update to a parent theme can break an override with nobody watching. Auto-updates are more reasonable when the theme is unmodified, or when you have a child theme, backups that run daily, and monitoring. If you want updates handled for you with testing built in, that is what a WordPress maintenance and support plan is for, and our WordPress maintenance checklist lists the other tasks to schedule.
Special cases that cause breaks
Abandoned themes. If a theme has had no updates for a long time, you will not receive security fixes. That is a signal to plan a move to a maintained theme. Our WordPress website redesign guide covers how to plan that move, and our security checklist shows why outdated code is a risk.
Functionality stored in the theme. The developer handbook says a theme should control presentation, and that site-critical functionality belongs in plugins, because users lose it when they switch themes. If your forms, custom post types, or shortcodes live in the theme, move them into a small plugin. Then every WordPress theme update, and every future redesign, gets easier.
When customizations get complicated
Child themes handle a lot. They do not solve a theme that has been heavily edited by several people over years, with overrides nobody remembers. At that point the safest route is a short audit: list every change, decide what to keep, rebuild it cleanly in a child theme or small plugin, and test.
That is the type of work covered by a WordPress theme customization service. The aim is a site where each change has a known home, so the next WordPress theme update is routine.
WordPress theme update checklist
Copy this list and use it each time.
- [ ] Read the changelog and note template changes
- [ ] Confirm WordPress and PHP version requirements
- [ ] Take a full backup (files and database) and confirm it can be restored
- [ ] List all customizations and where they live
- [ ] Clone the site to staging and block indexing there
- [ ] Move any parent-theme edits into a child theme
- [ ] Run the WordPress theme update on staging
- [ ] Diff every overridden template against the new parent
- [ ] Test key pages, forms, checkout, menus, and mobile
- [ ] Compare PageSpeed results before and after
- [ ] Take a fresh backup, then update live
- [ ] Check key pages and error logs on live
- [ ] Keep the rollback copy for at least a few days
Want us to handle your next theme update?
If you are nervous about a WordPress theme update on a customized site, we are happy to look at it with you. We can tell you where your edits live, whether a child theme is in place, and what is likely to break, even if you decide to do the update yourself. See our custom WordPress theme developers page for how we work, then get a free customization quote with a short note about your theme and what you changed.
FAQ
Will a WordPress theme update delete my customizations?
It will replace any changes you made directly inside the parent theme’s files. Changes in a child theme, in plugins, and in the database (content and most settings) normally stay. Check Customizer and Site Editor settings after the update.
Do I need a child theme before a WordPress theme update?
If you have edited theme files, yes. A child theme lets the parent update without overwriting your code. If you have not edited any files and only use built-in settings, you may not need one.
Should I update the theme before or after plugins and WordPress core?
Sources disagree. A common order is core, then plugins, then theme. On customized sites, updating one item at a time and testing between each is the easiest way to find the cause if something breaks.
How do I roll back a bad WordPress theme update?
Restore your pre-update backup, or replace the theme folder in wp-content/themes with the previous copy. WordPress’s upgrade guide warns that without a full backup of files and database, a rollback is “near impossible,” so take one first.
Is it safe to turn on theme auto-updates?
It can be, for unmodified themes or well-tested child theme setups with daily backups. For a customized site, an unattended update can break an override. Test on staging for sites where you cannot afford downtime.