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 ce nu sunt pregatite pentru o interfata live dinamica cu Gutenberg.
In acest articol o sa va aratam cum puteti dezactiva Gutenberg in WordPress 5 pentru tema curenta si sa reveniti la editorul clasic de editare / publicare articole.
Inainte de toate trebuie sa aveti suficiente drepturi de editare a fisierului functions.php al temei curente (active) sau acces FTP cu drepturi de editare.
open functions.php si adaugati linia:
 add_filter('use_block_editor_for_post', '__return_false'); Salvati fisierul apoi mergeti la “Posts” →“Add New“. Veti observa ca editorulGutenberg a disparut si a fost ilocuit cu cel clasic.
Este cea mai simpla metoda si nu presupune instalarea vreunui WordPress Plugin. Testata cu succes pe WordPress 5.0. Daca se va schimba in versiunile ulterioare de WordPress, vom reveni cu actualizari la acest articol, in care sa va aratam cum poate fi dezactivatGutenberg.
Daca folositi o versiune de WordPress mai veche de 5.0, adaugati in functions.php urmatoarea linie de cod:
 add_filter('gutenberg_can_edit_post', '__return_false', 5); Automatic (dezvoltatorii WordPress) recomanda momentan un plugin care sa faca acest lucru, insa spun ca editorul clasic nu va fi disponibil decat pana in 2021. O sa vedem dupa acel moment cum putem mentine Classic Editor in WordPress. Exista si varianta ca Gutenburg sa devina ceva mai “prietenos” pana atunci.
 
			