How to Update WordPress Theme without Losing Customization

One of the most efficient issues about WordPress is the straightforward customization choices that you simply get with WordPress issues and plugins.

You too can take those customizations to the following stage through including your personal code snippets and CSS kinds to your WordPress theme.

The downside arises when an replace turns into to be had on your theme. If you don’t seem to be cautious, then there’s a prime probability that you simply’ll lose a few of the ones adjustments you made to your theme.

In this text, we will be able to display you the way to simply replace a WordPress theme without shedding customization. We may even duvet how to correctly customise your issues, so that you don’t seem to be affected when a brand new theme replace is launched.

How Theme Updates Work in WordPress?

WordPress comes with an impressive device to set up updates for no longer simply WordPress itself however for plugins and issues as neatly.

Your WordPress website online often exams for updates and show them below Dashboard » Updates web page.

WordPress updates

When a theme replace turns into to be had, you’ll additionally see a notification at the Appearance » Themes web page.

Theme updates

Updates are in reality vital for the protection and function of your WordPress website online. Aside from safety and insect fixes, theme builders too can introduce new options with those updates.

You can merely click on at the replace button to set up the brand new model.

WordPress will then obtain the theme bundle, unzip it, and exchange the outdated recordsdata with the more moderen model.

This will overwrite all outdated theme recordsdata put in for your website online. If you manually added customized code to your WordPress theme recordsdata, you then’ll lose the ones adjustments.

That being mentioned, let’s check out which theme adjustments are protected and which customizations will probably be erased.

What Type of Theme Customizations Can You Lose During an Update?

There are more than one tactics you’ll customise a WordPress theme. Some of those theme customizations are protected as a result of your adjustments are saved within the WordPress database itself.

This contains all adjustments made in the course of the integrated WordPress theme customizer which you’ll get right of entry to through visiting Appearance » Customize web page.

WordPress theme customizer

The theme customizer permits you to regulate your WordPress theme and retailer all adjustments within the WordPress database. You can exchange the header symbol, colours, structure, customized CSS, and extra.

Your WordPress widgets and navigation menus also are no longer suffering from the theme updates.

Popular WordPress issues like Astra and Ocean WP now include spouse plugins. These plugins are used to upload additional options to your theme. Any theme adjustments made the use of those spouse plugins also are no longer suffering from the theme replace.

If you customise your WordPress structure the use of a WordPress web page builder like Divi, Beaver Builder, Elementor, and many others, then the ones adjustments may even no longer be impacted.

Any different options that you’ve got added to your website online the use of a plugin also are protected. For instance, your WordPress touch paperwork, Google Analytics, e-mail publication popups, and extra.

Customizations that you simply’ll lose all through the replace

If you will have added any code to your theme’s purposes.php record, then it’s going to disappear. Any CSS adjustments that you’ve got added without delay to your theme’s stylesheet (taste.css) record can be wiped off.

Now that we all know which adjustments will probably be erased, let’s discuss how to keep and repair them after the theme replace.

Step 1. Preparing for The Theme Update

First factor you want to do is attach to your WordPress internet hosting account the use of an FTP shopper.

Once attached, pass to the /wp-content/issues/ folder and obtain your theme folder to your pc.

Download your WordPress theme

This folder would be the backup of your theme, and we will be able to use it later to replica and paste customizations after updating the theme.

Step 2. Download The Updated Theme and Move Customizations

Now we would like to switch customizations we’ve got made to the outdated theme recordsdata to the up to date model.

Simply seek advice from your theme’s website online and obtain the newest model to your pc. Locate the theme’s zip record and extract it.

You must now have each, the brand new model and your outdated custom designed theme for your pc.

If you bear in mind the adjustments you made to your theme, then merely replica and paste the code snippets from the outdated theme to the brand new model.

On the opposite hand, if you don’t bear in mind the adjustments you made, then you’ll have to to find them first. The perfect means to do that is through evaluating your theme recordsdata.

You’ll want to use a record comparability tool like WinMerge (kaleidoscope for Mac, Meld for Linux).

Open each theme folders in record comparability tool. It will display recordsdata aspect through aspect permitting you to temporarily compares recordsdata to find the customizations you will have added to the outdated theme.

Compare theme changes

You can then replica and paste the code from the outdated theme record to the similar record within the new theme.

Step 3. Upload the New Theme Folder

After copying your adjustments to the brand new theme, you at the moment are in a position to add the up to date model to your website online.

Simply attach to your website online the use of the FTP shopper and pass to the /wp-content/issues/ folder. Select the brand new theme folder and replace it to your website online.

Upload updated theme

Your FTP shopper will alert you that the recordsdata with the similar title exist already. You want to make a choice <sturdyOverwrite to ensure that your outdated theme recordsdata are changed through new recordsdata.


That’s all. You have effectively up to date your WordPress theme. Visit your website online to ensure that the entirety is operating as anticipated.

How to Avoid Losing Changes During Theme Update

If you wish to have to upload code snippets or customized kinds to your WordPress theme, then there are some highest practices that you simply must observe.

The highest resolution is to create a kid theme and upload your customized code to kid theme’s recordsdata.

However, many WordPress novices would possibly not really feel at ease growing a kid theme. Luckily, there are more straightforward answers to be had.

For all of your customized code adjustments, you’ll use the code snippets plugin.

It permits you to safely upload customized code snippets without breaking your website online, and your adjustments might not be suffering from theme updates. You will even exchange your WordPress theme without shedding the ones adjustments.

For CSS code, you’ll reserve it all below the theme customizer’s ‘Additional CSS’ tab.

Additional CSS

For additional information, see our information on how to upload customized CSS in WordPress.

Alternatively, you’ll additionally use the robust CSS Hero plugin to simply customise the kinds without even writing any CSS code.

We hope this text helped you replace your WordPress theme without shedding customization. If you return throughout any problems, then take a look at our information on maximum not unusual WordPress mistakes and the way to repair them.

If you really liked this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You too can to find us on Twitter and Facebook.

Recent Articles

Standard Display Drivers for Windows 10 FAQ

Drivers act like a translator between the device they control, and the other programs in your system. Google Translate is not support in your...

Pictures Tutorial How to Reset USB Ports on Windows 10 8 7?

If you did not find it, close the window and update a different driver. Authentic and functional files are kept in a compressed cache...

How to properly update device drivers on Windows 10

Windows Update, Device Manager, and Auto-Update Assistants from device manufacturers. In most cases, these methods will keep your device drivers installed and updated properly....

Injustice: Gods Among Us APK OBB Download Install 1Click Obb Installer for Injustice: Gods Among Us

The traitor will need to be found before they can kill everyone else. You can download this game for your phone or tablet from...

Solved Camera not Working after Big Sur Update on Mac

However, after making all the necessary changes, restart the application and check if it is working properly. If your webcam isn’t working properly, it...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here