WordPress is well known for its ease of use and bulk of customization options. This is what makes it so popular among web users and even developers. However, like many other digital products, WordPress has its own drawbacks as well. No matter how well you’ve started working with WP, the problem may arise when it comes to updating WordPress themes. With a guard down, you can easily lose some of the changes made to a template at the beginning.
To prevent you from making mistakes in the future, in this post, we share some tips on how to update the WordPress theme in a secure way. So, put aside all your business and delve deep into the topic to know how to avoid losing content during the upgrade.
Another good thing about WordPress is that it ensures regular updates for itself, add-ons, and themes.
The website based on WP constantly monitors updates, so if you want to check on them, get to Admin Dashboard > Updates.
Besides, you’ll find the notice under Appearance > Theme where it will be said that the new version is available.
All you have to do here is to press the Update now button so that WordPress starts downloading the theme pack. Once done, it will extract the package and substitute old files with newer ones.
Keeping a WordPress site, as well as its theme and add-ons updated is crucial and here are a few reasons why.
If you plan the WP theme update, make sure you’ve carefully prepared. Before proceeding to the actual upgrade, consider a few recommendations.
The short answer to this is yes. But what kind of losses you have to expect? We’ll try to find out next.
You can modify a WordPress theme in different ways. Some of the customizations are safe while others can be lost.
Modifications applied using WP Live Customizer are usually stored in the WordPress database and you can access them by navigating to Appearance > Customize.
Through theme customizer, you can apply changes to the color scheme, header images, layout, etc. Other elements that are not affected by theme updates include widgets, navigation menu, and companion add-ons included with some of the WordPress themes. The rest of the features you add using customizer or any 3rd party page builders will also not be impacted.
On the other hand, the custom code added to the theme functions.php file or CSS changes applied to style.css file will disappear right after updating themes in WordPress. To find out how to save or restore them after the update, jump to the next paragraph.
While there are two updating methods, manual and automatic, we don’t recommend going with the latter once you don’t want to lose any previously applied changes. In this guide, we will show you how to update the WordPress theme manually and safely. So, let's get started.
Primarily, access WP hosting account through FTP client. Once done, navigate to /wp-content/themes/ to download theme folder.
By downloading this folder, you ensure the theme is backed up so that you can use it after updating the theme.
Download a new version of the theme from the admin panel or a website. Find the file on your PC and unpack it so that you get two files: one for an update and the other for a customized theme.
In case you’ve forgotten about the changes added to the theme, comparing both files through a corresponding software will help you find settings applied to the old theme.
Once done with comparison, copy and add the code to an updated theme file.
Uploading a new theme version to a website can be done using FTP client again. After connecting to the site through FTP, access /wp-content/themes/ to pick a new theme folder and update it to the website.
Upon uploading a new file, you’ll face a popup notification informing you that the same file name is already available. At this stage, you need to choose the ‘Overwrite’ option to have old theme files replaced by new ones.
That’s it for now. Consider visiting the site to make sure everything works right.
This practice brings advantages for those of you who want to add code fragments to the WordPress theme without losing the custom style during the update.
This is where we recommend creating a child theme and applying the code to its files or using Code Snippets add-on. The latter enables adding custom code fragments without breaking the website. All changes made using this add-on will not be impacted by theme updates, so you can safely customize the code and update the theme without those changes.
This bonus paragraph will be a good deal for everyone who’s not found the best WP theme yet. Below, you will find 3 highly functional and fully equipped templates recently added to TM marketplace. For more, consider a full collection of WordPress themes designed to fit different web projects.
Bookleum is a WP theme best suited for the hotel and vacation rental industry. This is a great solution for those of you looking for advanced functionality. Over 5 distinctive demos for hotels, B&Bs, as well as holiday homes, are available in one place. The theme is compatible with the Gutenberg editor, hence designed with the block editor by default. Additionally, it includes 34+ blocks by Getwid to take advantage of an innovative Gutenberg editor. On top of that, you will get access to 3 header styles, multipurpose page and blog styles, the suite of property page layout, hotel booking add-on, and much more, so you can use everything as you see fit.
Today, advertising an event-devoted website is a piece of cake with a fully-equipped WordPress landing page theme. Built with Elementor Page Builder, it allows customizing the web page without touching a single line of code. Whereas, the entire set of Jet add-ons is aimed at bringing advanced functionality. DesignCamp with its clean and responsive design supplemented with multiple customization options will let you build an engaging and converting landing page without putting a lot of effort into it.
Go ahead with this clean and modern WP theme to build a solid and reliable political campaign online. Due to a minimalist design, you can easily focus on the richest data presented at your political campaign site, platform, or candidate’s profile. On top of that, United League WordPress theme comes with a full features set aimed at making the customization process as easy as pie. So, don’t miss a chance to get this template with a user-friendly interface and robust functionality.
Now that you know how to update the WordPress theme with no loss of previously applied changes, we hope you will no longer doubt the updates. Let us know if you have any additional questions and we will gladly help you out.
Subscribe to our newsletter and access exclusive content and offers available only to MonsterPost subscribers.