AI Overview
Updating a WordPress theme only erases edits made directly to the theme's files. Customizer settings, Additional CSS, Site Editor changes, child themes and page builder content are safe. Back up, move file edits to a child theme or snippets plugin, update, then clear caches and check your pages; roll back from a backup if needed.
Key takeaways
- Only edits made directly to theme files are lost in an update; database settings survive.
- Move file edits to a child theme or a code snippets plugin before updating.
- Premium themes need an active license key or a manual upload to update.
- After updating, clear caches and check header, menus, footer, templates and checkout.
- Roll back from a backup, an older version from the vendor, or a snapshot saved before the update.
Free WordPress plugin
Know which plugin update broke your site.
The free MyKavo plugin watches your site through every plugin, theme and core update, and tells you which one caused a change, before your visitors find it.
- Records every plugin, theme and WordPress update
- Checks your key pages right after each update and names the one that broke something
- One-click rollback when an update goes wrong, free
- Changes, alerts and before-and-after proof inside wp-admin
Free on WordPress.org · WordPress 6.2+ · PHP 7.4+ · The check after each update comes with every paid plan and the 14-day Pro trial
Summarize with AI
Opens the assistant in a new tab with a link to this post.
On this page
Theme updates fix bugs, close security holes and keep your theme compatible with new WordPress versions. They also have one famous trap: if you edited your theme's files directly, updating the theme wipes those edits out. A custom header tweak, a few lines in functions.php, a changed template: gone with one click.
This guide shows how to tell whether your customizations are safe, how to update a WordPress theme step by step, how a child theme protects your changes, and how to roll back if an update breaks your layout.
Will updating my theme delete my customizations?#
It depends on where the customizations live:
| Where the change was made | Safe when the theme updates? |
|---|---|
| Appearance > Customize (colors, logo, menus, widgets) | Yes, stored in the database |
| Site Editor in a block theme (templates, styles) | Yes, saved in the database |
| Appearance > Customize > Additional CSS | Yes, stored in the database |
| A child theme's files | Yes, the parent theme updates separately |
| A page builder (Elementor, Divi, Beaver Builder) | Yes, stored with your pages |
| Edits to the theme's own files (style.css, functions.php, templates) | No, overwritten |
Not sure? Compare your theme's files with a fresh copy from the theme's download page or WordPress.org. Any file that differs holds your changes.
Before you update: the checklist#
- Take a full backup of files and database. See our WordPress backup guide.
- Find any direct file edits and move them to a child theme or a code snippets plugin first (see below).
- Read the changelog for the theme. Look for template changes, removed features or new PHP requirements.
- Check your page builder and key plugins are compatible with the new version.
- Test on staging for big theme updates. Our WordPress staging site guide shows how.
How to update a WordPress theme#
From the dashboard#
- Go to Dashboard > Updates or Appearance > Themes.
- Click Update now on the theme.
- Clear your caches and check your site.
Premium themes#
Themes bought outside WordPress.org (from ThemeForest, Elegant Themes, StudioPress and others) only update in the dashboard when your license key is entered in the theme's settings or the vendor's updater plugin. Otherwise, download the new version from the vendor and upload it under Appearance > Themes > Add New > Upload Theme, choosing to replace the current version.
With WP-CLI#
- wp theme update your-theme-slug
- or wp theme update --all
Free WordPress plugin
Update WordPress without the guesswork.
The free MyKavo plugin watches your site through every plugin, theme and core update, and tells you which one caused a change, before your visitors find it.
- Records every plugin, theme and WordPress update
- Checks your key pages right after each update and names the one that broke something
- One-click rollback when an update goes wrong, free
- Changes, alerts and before-and-after proof inside wp-admin
Free on WordPress.org · WordPress 6.2+ · PHP 7.4+ · The check after each update comes with every paid plan and the 14-day Pro trial
Protect your changes with a child theme#
A child theme is a small theme that inherits everything from its parent and holds only your changes. The parent can then update freely.
- Create a folder in wp-content/themes, for example yourtheme-child.
- Add a style.css with a header naming the parent: a "Theme Name" line and a "Template" line with the parent folder's name.
- Add a functions.php that loads the parent's stylesheet.
- Copy over only the files you changed, and move your edits into them.
- Activate the child theme under Appearance > Themes, then check your menus and widgets.
Many themes offer a ready-made child theme to download, and plugins such as Child Theme Configurator can create one for you. For small PHP tweaks, a code snippets plugin is often simpler than a child theme.
Block themes are different: changes made in the Site Editor are saved in the database and survive updates. If you want to keep them as files, the Create Block Theme plugin can export them into a child theme.
After the update: what to check#
- Clear every cache: caching plugin, host and CDN.
- Open your key pages in a private window on desktop and mobile: header, menu, footer, home page, blog posts, forms, cart and checkout.
- Check the theme's settings and Customizer still hold your colors, fonts and logo.
- Look at template pages such as search results, archives and 404, which are easy to forget.
How to roll back a theme update#
- Restore the previous version from your backup.
- Free themes from WordPress.org: download an older version from the theme's page (or the theme repository's version list) and upload it, replacing the current version.
- Premium themes: most vendors keep previous versions in your account downloads.
- With MyKavo installed, a copy of the theme is saved right before WordPress updates it, so you can put it back from the update history for seven days.
After rolling back, pause automatic updates for the theme until a fixed version is out. For broader update routines, see how to update WordPress safely.
Know within minutes if a theme update changed your layout#
Theme updates change how every page looks, so a problem shows up everywhere at once, and visitors notice before you do. The free MyKavo WordPress plugin is built to catch that:
- Every update recorded and checked. Theme, plugin and core updates, including automatic ones. On paid plans, from Starter, MyKavo checks your key pages right after the update and labels any change with the update behind it.
- Before-and-after screenshots. Drag a slider across the old and new version of a page to see exactly what moved.
- Snapshots and one-click rollback (free). A saved copy of the theme from right before the update, even for premium themes, ready to restore for seven days.
- "Did it crash?" (free). About ten seconds after an update, the site checks its own pages for server errors and the critical error page.
Summary#
Customizer settings, Site Editor changes, Additional CSS, child themes and page builder content survive theme updates; edits to the theme's own files do not. Back up, move direct edits to a child theme or a snippets plugin, read the changelog and test big updates on staging. Then update from the dashboard, the vendor's updater or WP-CLI, clear caches and check your pages. If something breaks, roll back from a backup, an older version or a saved snapshot.
Frequently asked questions
Will updating my WordPress theme delete my changes?
Only changes made directly to the theme's files (style.css, functions.php, template files). Customizer settings, Additional CSS, Site Editor changes, child theme files and page builder content are stored separately and survive the update.
How do I update a WordPress theme without losing customizations?
Move any direct file edits into a child theme or a code snippets plugin, take a backup, then update the parent theme. Your child theme keeps your changes while the parent updates.
Do I need a child theme?
Only if you edit the theme's files. If you only use the Customizer, Additional CSS, the Site Editor or a page builder, your changes are already safe. A child theme is the right home for template and functions.php changes.
How do I update a premium theme?
Enter your license key in the theme's settings or the vendor's updater plugin so updates appear in the dashboard, or download the new version from the vendor and upload it under Appearance > Themes > Add New > Upload Theme, replacing the current one.
How do I roll back a WordPress theme update?
Restore your backup, or upload the previous version of the theme from WordPress.org or your vendor account. If MyKavo is installed, the theme copy saved right before the update can be restored from the update history.
Should I turn on automatic theme updates?
For a default theme you have not edited, yes. For a customized or premium theme on a business site, update by hand after a backup, or use monitoring that checks your pages after every automatic update.
Write for MyKavo
Know website monitoring, WordPress or SEO from real work? Pitch us a guide. You keep a byline with one link to your site. Read the guidelines
Get alerted when your site breaks. Free, no card.
Start free