Learn in this tutorial how to disable WordPress Full Site Editing (FSE) using code.
WordPress 5.8 introduced quite a few new features, including the first full site editing components like the template editor.
This functionality allows you, when using a block-based theme, the ability to edit theme templates directly from the web.
This is a revolutionary change in the concept of how WordPress themes are created and modified. In fact, many tutorials related to the FSE will arrive.
But it is very likely that, for now, you will want to disable it on client sites to avoid confusion.
Here’s how:
Snippet to disable full WordPress site editing
Add the following snippet somewhere before the line containing “require_once(ABSPATH…” in the wp-config.php file:
To see this and another 1097 code snippets of this website, login or subscribe here.
It’s that simple.
Conclusions
The arrival of WordPress Full Site Edition (FSE) opens up a world of possibilities, but you probably don’t want to have this new functionality active, at least for now.
Therefore, if you prefer not to show the components related to the complete edition of the site, you already know how to disable it.
Any questions? I read you in the comments.
And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉