Share

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 🙂

Attinder Singh

Hi, My name is Attinder, I am a wordpress developer and desginer by profession. I love to make wordpress websites for all type of businesses. I am very passionate about writing articles about wordpress development and I will be writing a lot of new articles in coming days. I hope you guys would love to read them and gain some knowledge :)

Related Posts

Post A Comment

Your email address will not be published. Required fields are marked *

Need Help? Chat with us