Do you want to disable Gutenberg and return to the classic WordPress publisher?
Gutenberg is an editing tool introduced recently in WordPress to replace the classic editor. It has a more dynamic and theoretically more intuitive interface, but many publishers find it more difficult to use than WordPress's classic publisher. In addition, if you use an older WordPress theme that has not been updated to listen to the new Gutenberg editor, it is very possible to encounter all sorts of errors. In our case, the Gutenberg editor on WordPress 5.0 was a real nuisance. It was virtually impossible to edit a draft. The text could not be fully selected, and the alignment in the page, in the paragraph, left the cursor and elsewhere began writing. Strange.
In our optunity, those who write on sites need simple, intuitive and handy options. Gutenberg did not show us any of these leaks until now. Possibly better than 12 years of editing with the classic, to be an impact of change.
We are not alone. On the official platform of WordPress download plugins, I highly appreciate those that quickly help disable Gutenberg, while the new feature of WordPress 5.0 has a lot of negative reviews. It is true that most of those who gave a negative score use old WordPress Themes who are not ready for a dynamic live interface with Gutenberg.
In this article we will show you how can you disable Gutenberg in WordPress 5 for the current theme and its return to the classic editing / publishing editor.
First of all, you need to have enough file editing rights functions.php of the current theme (active) or FTP access with editing rights.
open functions.php and add the line:
Save the file then go to "Posts"→"Add New". You will notice the editor Gutenberg he disappeared and was misled with the classic one.
It is the simplest method and does not require the installation of any WordPress Plugin. Tested successfully on WordPress 5.0. If it will be changed in later versions of WordPress, we will return with updates to this article, showing how it can be disabled Gutenberg.
If you are using an older WordPress version of 5.0, add the following line in functions.php:
add_filter('gutenberg_can_edit_post', '__return_false', 5);
Automatic (WordPress developers) currently recommends a plugin to do so, but says the classic editor will only be available until 2021. We'll see after that moment how we can keep the Classic Editor in WordPress. There is also the option for Gutenburg to become more "friendly" until then.