========================================================== =============================== Original blog, reprinted please declare the source of Electronic coffee (original id blue rock) ========================================================== ============================== when we configure theme in WordPress, the popular theme will be downloaded from the website, making your blog look cool. If theme you downloaded has a bug or a problem with the downloaded package, your web page cannot be accessed after installation. Sadly, you cannot change theme back on the web. We can only manually modify theme through the background database. The method is as follows: Open phpMyAdmin, select the corresponding database, and enter the query statement in the SQL text box to obtain the current theme.
Select * From wp_optionswhere option_name = 'template' or option_name = 'stylesheet 'or option_name = 'current _ theme ';
The result is as follows: we can change the corresponding field to our theme. The system comes with 'classic 'and 'default '. you can choose one. There are two methods. First, you can click the symbol on the left to manually modify it. Second, You can execute the SQL statement:
Update wp_options set option_value = 'default' where option_name = 'template'; update wp_options set option_value = 'default' where option_name = 'stylesheet '; update wp_options set option_value = 'default' where option_name = 'current _ theme ';
Note: You may have deleted the built-in theme during optimization. Therefore, the new theme we set must be the same as the file name in the WP theme,