How can I change the theme of my Wordpress from PHPMyAdmin

amitz27's picture

I have a bad situation here, my wordpress site is full errored out due to a small syntax error in the code! I need to change the theme to bring it back again. But none of the pages, including admin are loading. Help me change the theme from backend please.

TheMaster's picture

Try this

Go to config.inc.php
Change the line..

$cfg['ThemeDefault']= ‘THEME NAME’;

Replace ‘THEME NAME’ with the theme you want to set.

eg.

$cfg['ThemeDefault']= ‘twentyten’;

Make sure the theme is installed already in your wordpress.

Hope this helps!

0