Are you facing the issue where the Editor goes blank in WordPress?
Something like this?
This issue happened because of incorrect WordPress sitting or because of some plugins (Mostly Rest API)
In this guide, we’ll be teaching you how to fix the blank site Editor issue in WordPress.
So, let’s get right into it!
What Is The Blank Site Editor Issue In WordPress?
The problem with the blank site Editor in WordPress happens when certain settings are incorrect, particularly when the REST API is turned off, making the editing interface not work properly.
Often, having different WordPress Addresses and Site Address settings can cause this issue.
To fix it, you can check and adjust these settings; you can follow our best practices below.
Fix the Blank Site Editor Issue in WordPress
To fix the issue of blank site Editor issues in WordPress you need to adjust the setting in the general tab.
- First, go to Settings > General in your dashboard.
- Now, locate the ‘WordPress Address (URL)‘ and ‘Site Address (URL)‘ settings.
- Make sure that the site address matches the WordPress address.
Specifically, ensure that if the WordPress address starts with ‘www’ or without it, then the site address should match exactly.
In our screenshot, these don’t match, so you should remove ‘www.’ from the site address URL.
To save your changes, go to the bottom of the General Settings page and select the “Save Changes” option when both settings are the same.
Fix the Blank Site Editor Issue by Enabling the REST API
REST API is enabled by default and used to render a preview of your site editor’s website. If you have disabled the REST API on your website, the site Editor will be unable to provide a preview of your site.
To re-enable the REST API, deactivate the code snippet or plugin, depending on the approach you initially used.
Disabling the REST API Code Snippet & Plugin
For Plugin:
If you’re using a plugin to deactivate the REST API, follow these steps:
- Go to Plugins > Installed Plugins.
- Scroll down to find the plugin.
- Click on the ‘Deactivate’ link next to the plugin.
In our case, we’re using the Disable REST API plugin, but you’ll follow the same process for any other plugin you have installed.
For WPCode:
If you’re using WPCode to disable the REST API, follow these steps:
- Navigate to “Code Snippets” in your WordPress admin area.
- Look for the snippet titled ‘Disable WordPress REST API.’
- Toggle off the ‘Status’ switch associated with this snippet.
Alternatively, if you disabled the REST API by adding code directly to your functions.php file instead of using WPCode, you will need to:
- Open your functions.php file using a cPanel or the file manager application on your hosting dashboard.
- Locate and edit the file.
- Remove the custom code related to disabling the REST API.
After that, you should be able to access your Editor normally.
Wrapping up
Resolving the blank site Editor issue in WordPress is crucial for maintaining a smooth website experience.
Addressing common causes such as incorrect WordPress Address and Site Address settings, disabling of the REST API via plugins or custom code, and potential conflicts with plugins or snippets, you can ensure that your editing interface functions properly.
Using troubleshooting methods outlined here and considering alternatives like page builder plugins can help you overcome this issue effectively, ensuring seamless website management.
FAQs on Blank Site Editor Issue in WordPress
How can I address the problem if a plugin is disabling the REST API?
If a plugin is causing the issue, navigate to Plugins » Installed Plugins, find the plugin responsible for disabling the REST API, and deactivate it. Alternatively, if you’re using WPCode, locate the snippet titled ‘Disable WordPress REST API’ and switch off its status.
What should I do if I’ve disabled the REST API using custom code?
If you’ve disabled the REST API by adding code directly to your functions.php file, you’ll need to access this file using a cPanel or the file manager application in your hosting dashboard. Locate and edit the functions.php file, then remove the custom code related to disabling the REST API.
Are there alternative solutions to the blank site Editor issue?
Yes, using a page builder plugin like SeedProd can provide an alternative solution. These plugins offer a user-friendly drag-and-drop interface that bypasses conflicts and ensures smooth editing functionality.