Review wordpress new block editor features and enable old classic editor without any plugin

Описание к видео Review wordpress new block editor features and enable old classic editor without any plugin

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);

Комментарии

Информация по комментариям в разработке