How to Change WordPress Theme If It Does Not Work (No Access to wp-admin) Through phpMyAdmin

Something is wrong. Your WordPress theme has got a blank screen and you can not log in to your admin through /wp-admin/ because there is blank screen too! At first, you may have check and disable all of your WordPress plugins, to control if the error is coming from plugins. After that, you can switch your WordPress theme directly from phpMyAdmin to check if the error coming from currently theme.

How to switch WordPress Theme in phpMyAdmin?

Step 1: Open your phpMyAdmin and log in.
Step 2: Find the right database.
Step 3: Find wp_options table (you may have another prefix, so look for prefix_options table).
Step 4: Find rows with value template and stylesheet, where are stored your active theme.
Step 5: Edit these two rows and enter there your new theme name. Name of the theme must be the same as your theme folder inside /wp-content/themes/. You can try any default theme like twentynineteen, twentytwenty or twentytwentyone.

 

 

UNLIMITED DOWNLOADS: 50+ Million Website Templates & Design Assets

All the Website Templates you need and many other design elements, are available for a monthly subscription by subscribing to Envato Elements. The subscription costs $16.50 per month and gives you unlimited access to a massive and growing library of over 50 million items that can be downloaded as often as you need (stock photos too)!

Recent Articles

How to Hide “Add to Cart” Button in WooCommerce Quickly

Once on your project, you will maybe need to disable selling products, make a catalog from your e-commerce store, or simply hide...

Agronix – Organic Farm Agriculture WordPress Theme [Free WordPress theme download]

Demo Download Agronix – Organic Farm WordPress Theme. We are Happy to presenting you the Agronix Agriculture Farming WordPress Theme. It is very easy to customize...

Roux – Creative Portfolio WordPress Theme [Free WordPress theme download]

Demo Download This is Roux, a splash of vibrant creativity your beautiful new website needs! Roux comes with tons of creative portfolio, gallery and graphic...

Brico – Plumber WordPress Theme [Free WordPress theme download]

Demo Download Features Overview Drag and drop page builder – Elementor One click install demo Demo content included WPML, RTL...

Get in touch

Be our first-class reader, build a community and follow us on social media!

Leave A Reply

Please enter your comment!
Please enter your name here