How to Save Your Customization Before Updating a WordPress Theme

Both beginners and advanced users often make changes to a WordPress theme to create a unique look. Sometimes it’s easier to just paste in a snippet of code to make the site behave a certain way. Unfortunately, Dominican republic B2B List some of these custom code snippets are removed during an update. To avoid this, many people will update WordPress themes manually.

To avoid such problems, it is better to use a child theme. It will allow you to enter custom options without worrying about them being removed during an update. However, not everyone knows how to create a WordPress child theme. After all, it can be a lot of work depending on what you want to edit.

In this tutorial, I will show how to save customization when updating WordPress themes.

Before you do anything, I strongly advise you to create a backup of your site. This will help to recover if something goes wrong. And it’s always a good practice to adopt.

Download Your Theme Folder

The first thing you will need is your website theme folder. You can use FTP programs like FileZilla to upload them, but I’ll be using the File Manager plugin for this tutorial.

It’s like having an FTP application installed directly on your website. Moreover, it will only show you files from the website. This means there is less to sift through, especially for those hosting more than one website on the hosting server.

Dominican Republic Business Email List

Select the theme you want and click the download button. This will be the theme you use and will have the customization you want to keep. Save it somewhere easy to find. If you don’t have the option to choose a folder, your browser should place the folder in your default download directory.

Download Your Theme Files From the Developer

Now comes the longest part of this process. Compare the old code to the new code and place your snippets accordingly. If you already know where you have changes, it’s pretty easy. However, it takes time if you don’t know where you have the custom code.

One way to do this is to open each file side by side and compare the code. You can use most text editing software to open website files. The problem is how tedious the process becomes. It’s much easier if you keep track of the files you modify, or perhaps just create a backup of your changes.

One of the easiest and fastest ways to compare files is to use software such as WinMerge, Kaleidoscope, or Meld, depending on your operating system. For example, WinMerge for Windows has an option for “Compare”. It will then open a side-by-side file window and highlight the different areas.

From there, you can simply copy and paste your code snippets into the new developer files.Once your copies are complete, save the site files.

Leave a comment

Your email address will not be published.