Not to sound too biased, but there are so many pros to using WordPress. First of all, it is excellent for beginners, for those who don’t have the time to put effort into building a website. Second, most WP themes are high-performing, mobile-friendly, and good-looking. And third, you can customize a WordPress theme how you want it, so the theme suits your website’s needs best.
Now imagine if something happened to your website, to that theme you previously customized. Like a major website error. Or a ruthless hack attack. How are you going to save your website? How will you ensure that your website data is not lost? In such a case, you can’t just download the theme and upload it once again. If you do so, all the customization and hard work you put into the theme will be lost.
So, how are you going to save your website?
To protect your website’s files, we highly recommend you secure it before it is too late. You should back up all website files. Just in case you lose all your site files and want to restore your website.
So, how to backup a WordPress theme?
There are four basic ways to backup a WordPress theme: using an FTP, using a WordPress Editor, making edits in the code, and using a backup plugin. We’ll explain the first two methods.
Note: If you are using a theme that comes with a parent and a child theme, be sure to back them both up.
How to backup a WordPress theme using an FTP client
To back up a WordPress theme using an FTP, you should have an active FTP account. Follow these steps to back up your WordPress theme:
1. Download your FTP client from their official website.
2. Log in to your WordPress admin panel (WordPress Dashboard).
3. Navigate to Appearance → Themes, to check which theme is active.
4. Log in to your FTP client.
5. From the FTP client, go to your website’s server and find the theme’s folder. By default, every theme is installed in the wp-content → themes folder.
6. Download the activated theme on your computer, and you’re all done.
Backing up a WordPress theme using the WordPress Editor
Backing up your WordPress theme with the WordPress Editor is more time-consuming than the previous method, but it’s worth it (and it’s highly effective), if you don’t want to bother with an FTP account or reading and editing a code.
If you want to back up your theme using the WordPress Editor, follow the steps below:
1. Log in to your WordPress admin panel (WordPress Dashboard).
2. Navigate to Appearance → Themes.
3. Click on the Theme Editor to open the Edit Themes page.
4. On the Edit Themes page, you will be able to see all the PHP files related to the active theme.
4. Choose the first file in the list. Copy the code and paste it in a text editor like Notepad++.
5. Name your Notepad++ file the same as the actual PHP file. This step is essential, so you don’t mix up all the theme files.
6. Repeat this step for each file related to the theme.
And that’s it一you have successfully performed a backup of your theme.
We hope this post helped you understand why it is essential to back up your WordPress theme and how you should do it. If you are having trouble backing up a Themes Kingdom WordPress theme, feel free to get in touch一we’re always here to help.