How to disable new WordPress 5.0 editor without using any plugin – wordpress 5

Disable wordpess 5.0 new editor without using any plugin .

Recently wordpres have released new version i.e WordPress5 with some major features. You can say that it’s the advance version of the wordpress. WordPress 5.0 is a bigger jump than recent major updates

Key Features of wordpress5
* New Block Editor
* New Default Theme: Twenty Nineteen

In new editor wordpress given an option to build your website without technical knowledge.

Block editor provided different types of block i.e paragraph, heading, preformatted text, quote, image, gallery, cover image, video, audio, columns with nested blocks, files, code, and more to show how content is displayed And Every block easily maneuverable with mouse or keyboard

Now lets come on main query i.e “How we can use use classic editor with wordpress5 without using any plugin?”. It’s just a two line code that will help you to remove the new “Block Editor” and rollback to classic editor.

You will need to add given below hooks filter into theme function.php file to remove new block editor

//For WordPress less then 5.0
add_filter(‘gutenberg_can_edit_post’, ‘__return_false’, 5);
//For WordPress greater then 5.0
add_filter(‘use_block_editor_for_post’, ‘__return_false’, 5);

Fuente – Source

How to disable new WordPress 5.0 editor without using any plugin – wordpress 5

Necesitas ayuda con wp? Entonces WPVideo es tu sitio.
Encuentra lo que buscas entre cientos de miles de videos y experiencias personales de otros usuarios. Todos los que empezamos con wp deberíamos tener acceso a esta web, ojalá yo hubiera tenido algo así cuando empecé mi camino como webmaster 🙂
Pero ahora quiero y puedo poner esta web a vuestra disposición.
Disfrutadla 😉

Need help with wp? Then WPVideo is your site.
Find what you are looking for among hundreds of thousands of videos and personal experiences of other users. All of us who started with wp should have access to this website, I wish I had something like that when I started my journey as webmaster 🙂
But now I want and I can put this website at your disposal.
Enjoy it 😉

Publicado en Plugins, Temas (Themes), Wordpress y etiquetado .

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *