Do you want to delete a WordPress theme from your website? This post will show you different methods to delete a WordPress theme from your blog in the right way.
By default, WordPress comes with several pre-installed WordPress themes. To save your server space or harden your security, you might want to consider removing the unused WordPress themes and plugins from your website.
Sometimes WordPress themes got stuck due to some technical error and you can’t delete your wordpress theme from your dashboard. In that case, you need to manually disable the wordpress theme from Cpanel.
If you don’t know how you can perform it, we have got you covered.
Note: Before deleting your wordpress theme, make sure to take a full site backup, in case you got any serious error, you can restore it back in a single click.
How To Delete a WordPress Theme
There are mainly three ways available for deleting a WordPress theme from a website.
- From the WordPress admin section
- From cPanel
- Using FTP method
We will describe every method below. So, you can choose your preferred method from below.
1. Deleting a WordPress theme from Admin Section
This is the simplest way we have for you. When you follow this method, you do not need to rely on any third-party tools or create additional accounts (you will learn this later). Just with a mouse click, you can delete a WordPress theme.
For doing that, log in to your WordPress site and go to the appearances section. There, you can see your active theme and all the other installed themes.
As you can see, I am using the GeneratePress WordPress theme on my blog.
Let’s say that I need to delete the Astra WordPress theme from my website. So, click on the theme to see the details.
On the right-bottom section, you will see a delete button. Click on it.
Now, confirm the deletion of the theme, and you are good to go.
Within some seconds, your server will delete the theme from your website. If you refresh the themes section, you can see that we have successfully removed our site’s theme.
By so far, this is the simplest method available for deleting a WordPress theme from a site. As you can see, we haven’t used any third-party tools or coding methods for completing the task!
NOTE: You can’t delete the currently active WordPress theme. You can only delete inactive WordPress themes.
2. Delete wordpress theme From cPanel
If you are using shared web hosting from any famous web hosting company like Bluehost/ HostGator/ GreenGeeks or SiteGround, you can delete a WordPress theme without logging in to the WordPress admin area.
They do have an easy-to-use cPanel (Control Panel) for managing your website. If you have access to your cPanel, file manager, you can delete WordPress themes from there!
In this section, we will show you how you can do it.
The very first thing you need to do is, log in to your website’s cPanel. This can be done via your web hosting account. For example, in this case, I am using GreenGeeks hosting for my websites.
So, after logging in to the website’s dashboard, check for the control panel option.
Clicking the button will give you access to the cPanel.
There, you will see several customization options like:
- And so on.
Under the files section, we can see the file manager option.
Open it, and you can see your website’s files.
When you have installed WordPress on your root domain, you will see all the core files inside your public_html folder. If you have installed it on a subdirectory, you need to open the respective directory for viewing the WordPress core files.
In this case, I have installed WordPress on my root domain. For accessing the available themes, open the wp-content folder and themes folder. There, you can see all the installed themes.
I have installed four themes on my WordPress site. They are:
- Schema Lite
- Twenty Twenty-One
If I need to delete the Twenty Twenty-One WordPress theme from my site, select the theme folder, right-click on it. Then, choose the Delete option from there.
The server will ask for your permission to remove the theme folder. Just accept it and click on the delete button.
Within some seconds, they will delete the selected WordPress theme from your site.
You can also verify the deletion through your WordPress admin area.
This is how you can delete a WordPress theme using the cPanel and file manager.
3. Delete WordPress theme Using an FTP Client
FTP stands for File Transfer Protocol.
There is a lot of FTP software available in the market like FileZilla, CyberDuck, etc. Our favorite one is FileZilla. It is free and easy to use. Here, in this section, we will teach you how to delete a WordPress theme from the server using an FTP client.
Firstly, you need to download FileZilla.
Once you have downloaded it, install it on your Windows/ Mac machine. After successful installation, run the software.
It will ask for four things.
For connecting an FTP software with your web server, these data are essential. Now, you need to create an FTP account for your site. If you already got one, that’s great! You can skip the step.
Now, let’s see how you can create an FTP account using the cPanel. The very first thing you need to do is, log in to your website’s control panel. There, you will see an option for creating FTP accounts.
After finding it, create one FTP account.
You will be using these credentials on FileZilla for completing the server authentication. You will need to enter the username & password for completing the registration. If you have multiple domains attached to your web hosting plan, you can choose your preferred one from the dropdown.
Once you have created an FTP account, use the same credentials on the FileZilla software for connecting it with your server.
Before performing the theme deletion, we do have three WordPress themes on our site.
- Twenty Twenty-One
- Twenty Nineteen
- Twenty Twenty
We will be keeping the Twenty Twenty-One theme and planning to delete the other two themes. So, using the FileZilla tool, go to the wp-contents folder and themes folder.
Keep the twenty twenty-one theme folder. Select other folders and delete them from the server.
According to the theme’s size, it will take some time. After FileZilla completing the task, you will see only one theme folder inside your themes directory.
If you check the website from the backend, you can see the same.
These are the three methods we have for you when you need to delete a WordPress theme from your website.
Sometimes, our website will break after a specific theme update. That might be because of compatibility issues with other plugins or PHP. If your site is experiencing a technical error due to a recent theme update, you want to try deleting the theme or downgrading it to an older version.
When you have access to the WordPress admin area, you need to try the first method. That is so simple, and even a beginner can do it.
Deleting the theme through FTP or File Manager is the best choice for users who can’t access the WordPress admin area. As you can see above, you don’t need coding skills for doing these tasks. Thus, this is a beginner-friendly method.
Have you enjoyed the read? If you did, please consider sharing this post with your friends and fellow bloggers on social media. If you are looking for more WordPress tutorials, then you can check our WordPress section.