Original title: How to get from your WordPress installation Delete a topic in
When you are looking for the perfect WordPress Theme It is easy to install and test one theme after another. Soon, your WordPress installation It looks like a theme store. When this happens, it's time to organize and delete topics you don't need. There are two ways from your WordPress installation To delete a theme in, either through the WordPress management panel or through the FTP/SFTP client.
Method # 1 - Delete a topic through WordPress management
For the first method, you need to WordPress installation Have administrative rights.
Login to WordPress Administration Panel
First, log in to your WordPress installation 。
Select the appearance panel, and then select Theme
From your WordPress administration menu, choose Appearance, and then choose Theme.
Select the theme details of the theme you want to delete
Make sure the theme you want to delete is not your current activity theme. (If it is, do another active theme).
In this example, the Focusblog topic is active. (WordPress always puts active topics at the top of your list and labels them). The other three themes (GeneratePress, Make and Twenty Seven) are inactive.
Let's delete the Make theme.
Hover over it and click the black rectangle marked with "Theme Details" to select.
Select Delete near the lower right corner
Now you can see the details of the theme. At the foot of the lower right corner of the window is the delete tag.
Click Delete from your WordPress installation Delete the topic in.
You will see a confirmation window, giving you the last chance to cancel.
Select OK.
The production theme has been deleted, and the remaining themes.
Method # 2 - Delete a topic through FTP or SFTP
As long as you can access your WordPress management console, the first method is good. However, if you do not have access rights, there is an alternative "backdoor" method using FTP or SFTP.
Connect to your SFTP server
Query your WordPress virtual host for details and credentials of how to connect through SFTP.
You need to know these details:
agreement
host
port
user name
password
Select the wp content folder, and then select the theme
Once you connect to your WordPress installation , navigate to the wp content folder, and then the theme subfolder.
Select the theme you want to delete
In this example, you can see my WordPress installation The four topics on are listed alphabetically. Focusblog, GeneratePress, Make, and Twenty Seven.
Note: It does not indicate which topic is active.
Select the theme you want to delete; For example, Make, so the line is highlighted.
Select Delete from the pop-up menu
Right click the topic you want to delete and select Delete from the pop-up menu:
You will see a confirmation message highlighting the file you want to delete.
Select Delete.
The creation theme has been deleted. There are three themes left in my theme folder (Focusblog, GeneratePress, and Twenty Seven).
summary
If you can access your WordPress management console, follow the first method, because it is easier than the second method. Before choosing which to delete, you can see your active and inactive themes. The second method is a "good choice" in case you can't access WordPress.