isotropic-2022
Share
Blog
Search
Menu

How To Delete A Theme In WordPress - 3 Methods That Work in 2024

By James LePage
 on July 8, 2022

How To Delete A Theme In WordPress - 3 Methods That Work in 2024

By James LePage
 on July 8, 2022

Say you've just changed a WordPress theme, and want to delete the old one. In this article, we'll take a look at how to properly delete a WordPress Theme.

deleting-wp-theme
Deleting a WordPress theme is a lot easier than you may think

Deleting an unused WordPress theme is incredibly important for 2 main reasons: security and storage.

Themes are the easiest way for hackers to get access to your site. Exploits are publicly announced almost daily for WordPress themes. The good news is that typically developers are told beforehand and implement a security fix. This comes in the form of an update that fixes the exploit.

However if you don't update a theme, even if it's disabled, the hacker can make use of the exploit because it wasn't patched. Deleting themes altogether minimizes the risk that you'll get hacked.

Themes are also pretty big and can really eat away at your storage space. After media, they're typically the largest collection of files on a WordPress sites.

Deleting the theme removes the files from your host, freeing up storage space.

📝

Deleting a WordPress Theme will not remove content from a website like pages or posts as themes simply offer templates for content to populate. However, if you're using a builder that is installed as a theme, like Divi or Bricks, things might break.

Additionally, overall styling will be removed if you disable a theme.

If you have a child theme, do not delete the parent theme, even if it's disabled.

Finally, we suggest leaving the most recent default theme, like Twenty Twenty Two for testing or fallback purposes. Just make sure it gets updated!

Now that we know why you may want to delete a WordPress theme, let's look at how to actually do it.

You have a few options when it comes to removing a WordPress theme. Each of them fulfills the same purpose, removing team files from your server

Remove WordPress Theme Via Dashboard

This is probably the easiest and most user-friendly method.

isotropic-2022-07-08-at-16-08-27

In your WP admin dashboard, on the left menu, go to appearance -> themes.

Then, click on the theme that you want to remove.

isotropic-2022-07-08-at-16-09-35

It needs to be deactivated.

On the popup, click "delete" in the lower right corner.

isotropic-2022-07-08-at-16-09-55

Confirm the operation, and the theme will be deleted from your WordPress website.

Delete WordPress Theme using FTP

It's pretty easy to delete a WordPress Theme using FTP. First, connect to your host using a client like CyberDuck or Filezilla.

Then, navigate from root -> wp-content -> uploads -> themes.

isotropic-2022-07-08-at-16-06-03

Then, simply delete the folder containing your theme:

isotropic-2022-07-08-at-16-06-17

Delete WordPress Theme Using WP-CLI

You can delete a WordPress theme using the WordPress Command Line Interface by using the following command:

wp theme delete twentytwelve

If you use the WP-CLI for development, this is probably the quickest and easiest method.


We hope that this article help you in removing and deleting your WordPress theme. This is definitely something that every website owner should know how to do because it helps with both security and storage. If you have any questions or comments, feel free to leave them down below.

Subscribe & Share
If you liked this content, subscribe for our monthly roundup of WordPress news, website inspiration, exclusive deals and interesting articles.
Unsubscribe at any time. We do not spam and will never sell or share your email.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Article By
James LePage
Contributors/Editors
notloggedin
James LePage is the founder of Isotropic, a WordPress education company and digital agency. He is also the founder of CodeWP.ai, a venture backed startup bringing AI to WordPress creators.
We're looking for new authors. Explore Isotropic Jobs.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram