Configuration guides for IT Administrators

Disable Gutenberg without plugin

Disable Gutenberg without plugin

Identify Your WordPress Version

On your WordPress Dashboard, scroll down to the bottom and on right end, you will see WordPress Version number. You can also find in “At a Glance” WordPress admin widget in Dashboard.

How to identify WordPress Version

For WordPress Version 5.0 and above

  1. Edit functions.php
  2. Add following code to disable Gutenberg for all posts
add_filter(‘use_block_editor_for_post’, ‘__return_false’, 10);

For WordPress Version below 5.0

  1. Edit functions .php
  2. Add following code to disable Gutenberg for all posts
add_filter(‘gutenberg_can_edit_post’, ‘__return_false’, 10);

Leave a Reply

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

Lucas Brey

I’m Lucas Brey, a travel blogger sharing practical guides, hidden gems, and honest tips from the road. Follow along for smart itineraries, great food finds, and stories worth bookmarking.

Tags