Skip to navigation
Change WordPress theme through the database in MySQL
31.03.25
You can change your WordPress wptheme with a MySQL command. ```mysql UPDATE wp_options SET option_value = 'theme-slug' WHERE option_name = 'template'; UPDATE wp_options SET option_value = 'theme-slug' WHERE option_name = 'stylesheet'; ```
https://melapress.com/change-wordpress-theme-in-database/
Reply
Anonymous
Those are some basic default failsafe themes you may use when you need to debug your WordPress site ```mysql UPDATE wp_options SET option_value = 'twentytwentyfour' WHERE option_name = 'template'; UPDATE wp_options SET option_value = 'twentytwentyfour' WHERE option_name = 'stylesheet'; ``` ```mysql UPDATE wp_options SET option_value = 'twentytwentythree' WHERE option_name = 'template'; UPDATE wp_options SET option_value = 'twentytwentythree' WHERE option_name = 'stylesheet'; ``` ```mysql UPDATE wp_options SET option_value = 'twentytwentytwo' WHERE option_name = 'template'; UPDATE wp_options SET option_value = 'twentytwentytwo' WHERE option_name = 'stylesheet'; ```
31.03.25
Reply
Anonymous
Information Epoch 1748703513
Small is beautiful.
Home
Notebook
Contact us