Created
May 2, 2013 09:44
-
-
Save chrisdigital/5501229 to your computer and use it in GitHub Desktop.
Overriding selected theme (open phpMyAdmin) to switch to default to combat server 500 error directly in database for WordPress.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//http://designgala.com/how-to-change-wordpress-theme-directly-from-database/ | |
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'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment