0 votes
11 views

Wordpress has included a new Gutenberg plugin in the latest update WordPress 5.0.0. It has affected most of the sites. 

Here is a trick to disable the Gutenberg plugin and enable old custom editor.

Add the following code to your functions.php 

function prefix_disable_gutenberg($is_enabled, $post_type) {

return false;

}

add_filter('use_block_editor_for_post_type', 'prefix_disable_gutenberg', 10, 2)

WordPress has introduced another plugin named Custom Editor to have old implemetation. You can install the following plugin https://wordpress.org/plugins/classic-editor/ 

Disable Gutenberg with the Classic Editor Plugin

For this method, we will be using the Classic Editor plugin which is developed and maintained by the core WordPress contributors.

First thing you need to do is install and activate the Classic Editor plugin. For more details, see our step by step guide on how to install a WordPress plugin.

The plugin works out of the box, and it will disable the Gutenberg editor upon activation.

This plugin also gives you an option to keep both Gutenberg and the Classic editor at the same time. You can configure this in the plugin’s settings.

Simply go to the Settings » Writing page in your WordPress admin area. You will see the option to do this under “Classic editor settings”.

asked by | 11 views

Please log in or register to answer this question.

7k questions

33.4k answers

5.9k users

Pucho.pk is a Question and Answer platform that empowers people to share and grow the Pakistan's knowledge. People come to Pucho to ask questions about any subject, read high quality knowledge that's personalized and relevant to them, and share their own knowledge with others. Pucho.pk is a place to share knowledge and better understand the Pakistan.

Related questions