Web Development Wordpress

Two easy ways to Disable Gutenberg in WordPress 5.x

Did you recently updated your website to version 5.0+?

You must have recently updated your website to wordpress 5.0 or some hosting provide auto update must have updated it automatically. I am sure the very first thing you will notice when see your wordpress dashboard was a strange Gutenberg editor overlapping your existing page editor, this was my story as well and I will share how I got rid of this easily in seconds.

So basically following are 2 easy ways to disable Gutenberg

1. Disable Gutenberg via Plugin

One of the best and easiest way to disable Gutenberg editor is to use a plugin called Classic editor. Following are the steps you need to follow.

a. Go to plugin page

b. Add new plugin

c. Search “Classic editor”

d. Click install now

Make sure the Plugin Settings are set according to this.

And your problem is solved straightaway 🙂

2. Disable Gutenberg with one line Code

Alternative solution, if you have a basic coding knowledge you can paste this following one line code in bottom of functions.php which is a theme functions file present in your theme.
// Disable Gutenberg – Newer 5.++
add_filter(‘use_block_editor_for_post’, ‘__return_false’);

// Disable Gutenberg – Older 5.0
add_filter(‘gutenberg_can_edit_post_type’, ‘__return_false’);

I hope this blog was helpful to you and made your life easier 🙂

Leave a Reply

Ready to get started?

Enter your details and one of our designers will get in touch.