How to manually delete a theme from WordPress using the file system

You can delete WordPress themes through the admin dashboard, which is the safe and preferred way of deleting themes. However, if this is not possible, you can manually delete a theme by deleting its folder in WordPress.

File system access

These instructions require access to your WordPress file system (the folders containing your WordPress files and data). Most hosting companies provide some way of reaching the file system. You may be able to access the files through an online file browser through your hosting account. Another common option is to connect over SFTP (Secure File Transfer Protocol). Either way you will need to sign into your hosting account for look a way to connect to the file system.

WordPress.com

If you are on WordPress.com (rather than another host), you must be on a paid plan to access the file system. Instead of deleting manually, you can contact WordPress support and request they delete the theme for you.

Instructions

  1. Backup your website before proceeding

    You should always backup your website before making any changes through the file system, especially when deleting files. It is not impossible for you to accidentally delete the wrong folder and bring your site down.

  2. Confirm your active theme

    It is important that you not accidentally delete your active theme. If you want to delete the active theme, then first sign into your WordPress dashboard and switch to another theme before proceeding.

  3. Connect to your WordPress files

    Use your online file browser or SFTP client to connect to your WordPress file system.

  4. Navigate to the themes folder

    Go to the wp-content/themes folder. This is where all installed themes are stored.

  5. Identify the theme to delete

    Find the folder that matches the name of the theme you want to remove. Make sure it is not the active theme. If you wish, download a copy so you can quickly restore later.

  6. Delete the theme folder

    In most apps, you can select the file and then click a delete button, or right-click and select delete. If you don’t see a delete command, try selecting the file and pressing the Del button.

  7. Verify the theme is removed

    Log in to your WordPress dashboard and go to Appearance > Themes to confirm the theme no longer appears.

License

Feel free to remix this content for your website.

Licensed under CC BY 4.0

Leave a Reply