27.9.10

:: wordpress theme reset to default

:: whatis wordpress
WordPress is an open source CMS, often used as a blog publishing application powered by PHP and MySQL. It has many features including a plugin architecture and a templating system.
-[ http://en.wikipedia.org/wiki/Wordpress ]-

:: reset themes wordpress to default
# with cli
[ linux: ~ ]$ mysql -u user -p
mysql> use dbwordpress;
mysql> UPDATE wp_options SET option_value = 'default' WHERE option_name = 'template';
mysql> UPDATE wp_options SET option_value = 'default' WHERE option_name = 'stylesheet';

# share hosting / cpanel / phpmyadmin
0. login on cpanel / phpmyadmin
1. select db for wordpress
2. select SQL tabs and run this command:
UPDATE wp_options SET option_value = 'default' WHERE option_name = 'template';
UPDATE wp_options SET option_value = 'default' WHERE option_name = 'stylesheet';
3. click GO
4. open your site, if you still get blank screen, you can login on admin page :
http://yourdomain.tld/wp-login.php
5. and select your new themes for wordpress.

:: link
+ googlelinux