Quantcast
Channel: 916 Networks
Viewing all articles
Browse latest Browse all 63

How to Change Your WordPress Theme via PHPmyadmin

$
0
0

The following SQL checks to see what theme the database has saved:


SELECT *
FROM wp_options
WHERE option_name = 'template'
OR option_name = 'stylesheet'
OR option_name = 'current_theme';

The following updates the database with your theme’s folder name:

UPDATE wp_options SET option_value = '916Networks' WHERE option_name = 'template';
UPDATE wp_options SET option_value = '916Networks' WHERE option_name = 'stylesheet';
UPDATE wp_options SET option_value = '916Networks' WHERE option_name = 'current_theme';

Note that your database might be (and should be) different than ‘wp’ in ‘wp_options’.

The post How to Change Your WordPress Theme via PHPmyadmin appeared first on 916 Networks.


Viewing all articles
Browse latest Browse all 63

Trending Articles