We’ve all had it happen – the white screen of death – it can be related to plugins – or more likely, it’s your theme. Sometimes your theme gets an update (or doesn’t) or maybe you’re trying to make some modifications yourself (we’ve all been there) and suddenly the WordPress site displays an error code – or it shows you just a blank white screen. Sometimes you get get in to the admin panel – if so, try to activate another theme, but if you can’t, here are the steps to change your theme in your database.
- From your hosting account, look for your database section and click on phpMyAdmin.
- Once you are logged in to phpMyAdmin, select your database on the left hand side. Depending on your plan you may have multiple databases listed or just your one.
- Once you click your database, all of the tables will expand, select your options table (usually wp_options) but it may be different depending on how your plan is set up.
- Once you select your options table you will see a list of the values inside that table. Sometimes the database will default to Structure, if that is the case, make sure you select Browse. You will want to go to the second page to find template and stylesheet.
- You will need to click Edit for both of these values. You will then want to erase what is in the value and update it to a default WordPress theme – such examples are twentyfourteen or twentyfifteen (it is important to make sure that you actually have that theme installed on your WordPress site). Then hit Go and you should be all set!