The safe order to update a WordPress theme: back up your site first, update your plugins, then your theme, then WordPress core. If you made your changes in a child theme, a parent theme update will not touch them. If you edited the theme files directly, those edits are wiped, so keep a copy before you start. Our post on backing up your WordPress website covers the backup step.

Everything on the web changes. Themes get new versions, plugins get patched, WordPress ships a new release, and the only question is whether you are ready when the update notification shows up. Most people find this post at the worst possible moment: they clicked update, something broke, and now they want to know what the order should have been. So let’s start with the actual procedure and explain the why as we go.

a road leading forward, the path to a theme update

Today’s lesson is about what changes can occur on your website (based on the theme you chose to work with), as developers work around the clock to bring you their best work. And yes, we are going to see how to update a theme without losing any customization.

One more thing, because I’m about to use the words “child theme” and “parent theme”, let’s clear up what each one is. The main subject stays how to update a theme in WordPress, so bear with me for a short detour.

Parent theme vs child theme

when and why to use a child theme in WordPress

What’s a parent theme?

It is fundamentally any theme, free or paid, from the WordPress repository or from any marketplace out there.

On one hand, theme frameworks are parent themes, but on the other hand not all parent themes are theme frameworks. People often confuse one with the other.

To be a parent theme, it first has to be declared by another theme: a child theme.

What’s a child theme?

A child theme inherits the look and functionality of the original theme (the parent theme), letting you make custom modifications to your website and keep them when the parent theme updates.

How do you update a theme in WordPress?

WordPress developers always recommend updating your theme to the latest version, and in my view that’s good advice. It keeps your theme current with all the latest features. Ignoring updates leaves your site open to security threats and performance problems.

Here’s the one habit worth building: the words “update” and “backup” are BFF. Each time you hear “update,” it should trigger its BFF, “backup,” in your mind.

Where can I see the updates available?

Your WordPress website regularly checks for updates and displays them under Dashboard – Updates. You will also see a notification under Appearance – Themes when a theme has a new version.

WordPress updates displayed under Dashboard Updates

Aside from security and bug fixes, developers can introduce new features with these updates, which is good and great. It saves your precious time.

What to do before making any updates?

There are a few important things to do before you update your theme. Here’s the list of must-dos:

  • Get prepared – as a quick reminder, any CSS changes you added to your theme’s stylesheet (style.css) and functions.php file will be wiped off, so back up your theme before anything happens.
  • Download the new version of your theme – if you added any code, you need to transfer customizations from the old theme files to the updated ones. Simply visit your theme’s website and download the files, or if you use a theme from the WordPress repository, you will see a notification on your Dashboard.
    If you have a brilliant memory and remember what customizations you made, copy and paste those across. If not, you’ve reached the point where you need to compare your theme’s files (software like WinMerge will help you out).
  • Upload the new version – using your FTP client, connect to your website. Go to /wp-content/themes/, select the new theme folder (the updated one that holds your customizations), right-click and choose Upload. Your FTP client will warn you about files with the same name. Choose Overwrite so the old files are replaced by the new ones.

And you’re done. Was that so hard? I didn’t think so. But to avoid doing all of the above, I strongly recommend the better solution: create a child theme and make all modifications there, without affecting the parent theme.

Is it necessary to update?

From my point of view, a big and emphatic “YES”! Why, you ask? Because updates come with the following:

  • Increased security;
  • Bug fixes;
  • New features and functionality.

Theme updates, and not just WordPress theme updates, often increase security by patching vulnerabilities and hardening against hackers, fix bugs discovered in previous versions, and, not least, add new features and functionality.

The WordPress development team ships updates regularly, so neglecting to update means not only risking a hack, but also missing out on improvements you’ve already paid for in time.

Will a WordPress theme update affect my website?

If you created a child theme, all modifications live there, so the parent theme update won’t touch them. If you don’t have a child theme and want to create one, it’s not that hard to learn how.

The sad reality is that a “painless” update is never guaranteed, so keep in mind: always make a backup first.

Should you update your theme or plugins first?

My tip: always update your plugins first, then update your theme, and finally WordPress core.

It makes sense to update the plugins first because their developers release new updates based on the latest versions of themes and WordPress itself. Theme developers base their updates on new WordPress versions, so if you update WordPress before anything else, your plugins and theme aren’t prepared to handle the latest version of WordPress’s core files.

Wrapping up

Updates can be a pain, but done correctly they should be a piece of cake. Don’t be afraid to update, now that you’ve seen what happens when you neglect it.

We hope this article helped you update your WordPress theme without trouble, because we don’t need any. Still deciding which theme to run? Here is how to choose a proper WordPress theme before you have anything to update.