Important: This article does not apply to Secure WordPress.
An out-of-date or faulty theme can be the cause of issues with your WordPress® website. Resetting your website to the default WordPress theme is the only way to determine if your theme is the issue.
If the issue is preventing you from using the WordPress Administrator panel, you will have to to complete this process using either FTP or phpMyAdmin.
Method 1: Applying the Default Theme Using FTP
To complete these steps, you will need to connect to your website with either an FTP program or the File Manager. For more information, please see the following articles:
Follow these instructions to apply the default theme using FTP:
2. For more information, please see FTP FAQs and Troubleshooting.
3. Open the /wp-content folder.
4. Find the theme folder, then rename it to theme.deactivate.
5. Once renamed, log in to the WordPress Administrator panel.
6. When you log in to the WordPress Administrator panel, the website will reset to the default twenty eleven theme.
Method 2: Applying the Default Theme Using phpMyAdmin
Note: Please refer to the FTP/ File Manager Directory for the themes folder to check what default themes that you may have installed and to rename the database table accordingly to the theme based on the naming in the FTP.
To complete these steps, you will need to use phpMyAdmin. For more information, please see How Do I Access phpMyAdmin?
Important: Only users with knowledge of how to navigate and make changes to a database using phpMyAdmin should use this method.
What's Next?
If you are using the default WordPress twenty eleven theme fixes the issue with your website, then the problem was most likely caused by an issue with the code in your previous theme. WordPress theme coding usually contains a file named functions.php. Fixing the problematic theme could be as simple as removing any extra or trailing spaces from the file that follows the code. Other times, there is a more complicated coding issue. If this is the case, we recommend that you use a different theme until that code can be corrected.