Follow the simple steps to change the WordPress Theme ny editing MySql Tables(WordPress database). You might run into situations when you have access to only backend.
Change WordPress Theme
- Logn into MySQL Database for your site (Example : msql.example.com)
- Open the Database for your site ( DB_example)
- Open the Table wp_options
- Open Browse Tab
- Find the option’s template and stylesheet
- Edit the value to theme name you want to change (Example : default)
- Save the table
If some plugin have corrupted the theme files, using above change, you can set the default theme.
{ 4 comments… read them below or add one }
Thanks for this Tutorial, i fall into Panic as i delete my Theme. Now i have changed it over the SQL Database, thank You! =)
I tried that, but it didn’t work.
thx! you saved my life ^^
This saved my life couple of times