It is recommended that you upgrade the site theme to the latest version. Because all the latest features are available, the security patches remain up-to-date. There are several ways to upgrade WordPress Themes. In this post, we will discuss some methods, from automatic upgrade to preventing accidental coverage of custom themes. Note: after reading this post, if there is still a problem with the theme upgrade, please help! Our handsome support team can help you solve all WordPress problems for free! Our team is on call 24 hours a day, no matter on weekends or at any time. The
The first thing to do to back up the theme file is to back up the database and the current theme before starting. Problems may occur because the theme file is being replaced and updated. It is recommended that you play and accept the backup safely. Use the most comfortable method. You can use FTP to copy the entire word press directory to your computer, and use the plug-in to back up the database. Other third-party backup sites, such as snapshot pro or vaultpress, can perform automated backups on a scheduled basis to ensure that the site is always stored in a secure offsite location. The
Automatic upgrade theme automatic upgrade is easy. There are several ways to take advantage of automatic upgrades. On the WordPress dashboard, navigate to shapes > themes. Warning banners are displayed for all updated topics. Click the topic you want to upgrade, and then click update now. Automatically upgrade word press themes. From the WordPress dashboard, go to dashboard > update. Topics with available updates are listed. Select the topic you want to update, and then click Update topic. This is also a quick way to update multiple topics. WordPress 3.7 introduces automatic background updates to themes and plug-ins that are disabled by default. To turn this feature on for a theme, use the functions in the theme. Add the following snipt to the PHP file: The
Add\u filter (‘auto\u update\u theme’,’\u return\u true’); This feature is available only for themes ed from the WordPress Theme repository. If you use advanced themes, they are not automatically updated. Advanced topic providers usually provide guidance on topic upgrading. Most topic providers who upload and replace existing topics require that the old version be replaced in order to manually upload and upgrade the new version of the topic. However, if you try to upload a new version of an existing theme in the site theme directory by adding shapes > themes > an error message will be displayed indicating that the new version of the theme will fail and that the target folder already exists. The
Change the old version name of the topic to prevent this error. The reason for this error is that there cannot be two folders with the same name in the topic directory (obviously!). There are several simple solutions. Log in to the site via FTP or cPanel, delete the old theme, and then upload the new version. Back up previous versions of topics in case of problems. If deleting the previous theme is disturbing, another option is to rename the previous version of the theme. In this way, you can successfully upload a new version of the theme. Log in to the site via FTP or cPanel and navigate to WP content \/ themes\/ to find the previous topic. Rename the previous topic, for example, \
Old and new versions of topics
Side by side. The custom theme upgrade site took countless time, but after updating the theme, did you forget all your efforts? Male may later know the theme of being a child. A sub topic is a topic that inherits the functions of other topics (called parent topics). Subtopics allow you to modify or add features to the parent theme. Most importantly, after you create a sub theme, you can change the site without touching the code of the original theme. As a result, you can update your site without losing any customizations you create. The
In the article on how to create WordPress subtopics, you will learn how to create subtopics. If you want to upgrade the theme, but do not use sub themes for customization, please continue to read. If you only change the upload theme code, you may want to check whether the new version of the theme has extensive updates. If the subject developer publishes the change list of the new version in the change log or additional information file, but only changes oneortwo files, you can choose to upload and overwrite the files of the old version through FTP or cPanel. The
If there is a customized file in the updated file, and you remember the changed code line, you can customize it again through shape > editor. If you remember the new theme, re customize all the customizations of the theme, or save it in a location, the easiest way is to re customize it so that it can be automatically upgraded according to the above methods, and then re customize the site. Yes, having to perform all customizations the second time is a hassle. However, you can implement the subtopic at least this time, so you don’t have to worry about doing it again. The
If there is a problem, make sure that you back up the site before doing this so that you can return to the previous topic. What if I don’t remember my customization? If you don’t save the customized content somewhere, or don’t remember to change it, please don’t feel pressure! Upgrading the theme is more difficult, but it is still possible. There are two programs that help you compare two versions of a topic, the old version and the old custom version, or the old custom version and the new version. If OS X is used, kaleidoscope is an excellent advanced program that can compare the text in two different files. WinMerge is a free, open source alternative popular with Windows users. The
Let’s take a look at how to compare two versions of a topic using kaleidoscope. The program is not free, so you can search for free or cheaper alternatives, but kaleidoscope offers a 15 day trial period if you want to use it. 1. copy previous themes and updated versions to your desktop for easy access to files. Open the kaleidoscope and drag and drop the file you want to compare. Drag the male file to the kaleidoscope. 2. the program displays the text in both files side by side to compare changes. In this case, the previous function. Found the code snippet added to the bottom of the PHP file. The
Compare the difference between the new version and the old version of the subject. 3. all codes in the old file can be changed to the new file. Click the block (pink), and then click Copy to right at the bottom of the window. The text in the old file on the left is automatically copied to the new file on the right. You can easily copy the code from the old version on the left to the new version on the right. 4. repeat this step until all customizations are copied. When you are finished, compress the previous theme and upload it to the site by adding shapes > themes >. If you upgrade the summary topic to the latest version, it is not only the most feature rich version,
You can use a secure version. Every time you update a topic, always back up all items of the old topic, the database, and the new topic. If you encounter problems editing files, you can use backup to restart the process without losing important files.