Disable Gutenberg & Enable Classic Editor in WordPress 5.0 +

Do you want to disable Gutenberg and return to the classic editor in WordPress?
Gutenberg
is an editing tool recently introduced in WordPress to replace the classic editor. It has a more dynamic and theoretically more intuitive interface, but many editors consider it to be much more difficult to use than the classic WordPress editor. Additionally, if you're using an older WordPress theme that hasn't been updated to support the new Gutenberg editor, you're likely to run into all kinds of errors. In our case, the Gutenberg editor on WordPress 5.0 was a real nuisance. It was almost impossible to edit another article “Draft”. The text could not be selected completely, and as for the alignment on the page, in one paragraph I left the cursor and on the other side it started to write. Strange.
In our opinion, those who write on websites need options that are as simple as possible, intuitive and at hand. Gutenberg has not shown us any of these tricks until now. It is possible that in more than 12 years of editing with the classic one, there will also be an impact of the change.

We are not alone. On the official WordPress plugin download platform, those that help quickly disable Gutenberg are highly appreciated, while the new feature of WordPress 5.0 it has a lot of negative reviews. It is true that most of those who gave a negative score use old ones WordPress Themes which are not prepared for a dynamic live interface with Gutenberg.

In this article we will show you how to disable Gutenberg in WordPress 5 for the current theme and sa return to the classic editor for editing / publishing articles.

First of all, you must have sufficient rights to edit the file functions.php of the current (active) theme or FTP access with editing rights.

open functions.php and add the line:

 add_filter('use_block_editor_for_post', '__return_false'); 

Save the file then go to “Posts” →“Add New“. You will notice that the editorGutenberg it disappeared and was replaced by the classical one.
It is the simplest method and does not require the installation of any WordPress Plugin. Tested successfully on WordPress 5.0. If it changes in future versions of WordPress, we'll update this article to show you how to disable it.Gutenberg.

If you are using a WordPress version older than 5.0, add the following line of code to functions.php:

 add_filter('gutenberg_can_edit_post', '__return_false', 5); 

Automatic (WordPress developers) currently recommends a plugin to do this, but they say that the classic editor will not be available until 2021. We will see after that time how we can maintain the Classic Editor in WordPress. There is also the option for Gutenburg to become something more “friendly” until then.

Passionate about technology, I write with pleasure on stealthsetts.com starting with 2006. I have a rich experience in operating systems: Macos, Windows and Linux, but also in programming languages ​​and blogging platforms (WordPress) and for online stores (WooCommerce, Magento, Presashop).

Home Your source of IT tutorials, useful tips and news. Disable Gutenberg & Enable Classic Editor in WordPress 5.0 +
Leave a Comment