WordPress Theme Reset To Default – Recover Crash

Sometimes you install a wordpress theme and activate You will get a blank page. No Admin No Front end the total wordpress gone to thin air. This is a great problem for me. Searched to reset the theme to default and get back the Admin Interface of wordpress. A simple Solution is here. NOT work everywhere. Before reinstalling the whole wordpress just try this.
UPDATE wp_options SET option_value = 'default' WHERE option_name = 'template';

UPDATE wp_options SET option_value = 'default' WHERE option_name = 'stylesheet';

It saved my life may time. You can also try this for resetting the wordpress theme to default and save from a wordpress crash of website. Happy Me …!!!

6 comments

  1. You did save me a few hours of a hard work, not to mention the frustration. I’m not very familiar with phpMyAdmin, but to be fair it was quite simple paste and run. Thank you very much!

  2. Hi Ranjit,

    Can you please explain a bit in detail how to use the code you mentioned? How and where do I put this in?
    I really need a solution so please help.
    Thanks

Leave a Reply