• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Bent Corner

Bent Corner

a smell of wine and cheap perfume

  • Home
  • About Me
  • Contact Me
  • My eBay Store
  • Log In/Log Out
Home > WordPress > How to disable the Gutenberg block editor in WordPress without a plugin

How to disable the Gutenberg block editor in WordPress without a plugin

How to disable the Gutenberg block editor in WordPress without a plugin

I don’t like the WordPress block editor known as Gutenburg. I started working with WordPress in 2007. Because of that fact, I’m accustomed to using either the Visual or even the Text editor when working on a page or a post. I find using Gutenburg to be cumbersome when using it to write a post or content to a page.

I definitely don’t see any advantages in using the block editor to write content. Because of this fact, I began using a plugin that deactivates Gutenberg. It’s called Classic Editor.

It works brilliantly at making Gutenberg go away. That said, I recently deactivated Classic Editor and uninstalled it. I did that because I discovered I could turn Gutenberg off by adding a single line of code to my theme’s functions.php file. It’s very easy to do.

How to turn off Gutenberg for everyone

Copy and paste the following code at the bottom of your website’s child theme’s functions.php file:

add_filter('use_block_editor_for_post', '__return_false');

How to turn off Gutenberg for a specific user

If you have multiple users who log into WordPress and they don’t all dislike the block editor, you can turn it off for a specific user. Copy and paste the following code at the bottom of your theme’s functions.php file:

$current_user = wp_get_current_user();
if ($current_user->user_email == 'info@richard-rottman.com') {
    add_filter('use_block_editor_for_post', '__return_false');  
}

Change the email address between the single quote marks to that of the user who doesn’t want to use the block editor before saving the file.

How to turn off Gutenberg for two specific users

If you have more than one user who doesn’t want to use the block editor, use the following code:

if (( $current_user->user_email == 'info@richard-rottman.com') || ( $current_user->user_email == 'rlrottman@gmail.com')) {
    add_filter('use_block_editor_for_post', '__return_false');  
}

Again, change the email addresses inside the single quote marks to the email addresses of the users who don’t want to use the block editor.

In conclusion

Gutenberg always seemed like a feature in WordPress that nobody asked for. Unfortunately, it looks like it’s around for good.

WordPress

About Rick Rottman

My name is Rick Rottman, and this is my personal website. I was born and raised in Southern California, but I've lived most of my adult life in Maryland.

Reader Interactions

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Social

  • Facebook
  • Instagram
  • Pinterest
  • Threads
  • Twitter

Subscribe

Get an e-mail notification when I publish a new post. Easy like Sunday morning.

Recent Posts

  • Will eBay reseller discrimination be the civil rights issue of 2026?
  • Your eBay account is restricted!
  • If you want to sell Pokémon cards, you need to grind
  • The Dragon Con Policy on AI Art Is so Serious, It’s Secret
  • Dibdit is Infected with Petty, Ridiculous Reseller Drama

Currently Reading

Harlan Ellison Greatest Hits

RSS ICv2 RSS Web Feed

  • Review: ‘Iliad’ (Board Game)
  • Pro: December 2025 Circana BookScan - Top 20 Adult Graphic Novels with Actual Sales
  • December 2025 Circana BookScan - Top 20 Adult Graphic Novels
  • Preview: 'The Fury of Firestorm' #1 and 'Zatanna' #1
  • FanRoll Unveils 'Dragon Pen with Mini Dice Set and Character Sheet'
  • Preview: 'Corpse Knight' #1
  • New 'Grand Archive TCG' Capstone Set Revealed
  • New Wave of 'Batman' 'Squaroes' Incoming
  • Kayou Limited Will Release a New 'My Little Pony CG' Booster Set
  • Oni Press Hires Kickstarter's Sam Kusek

Bent Corner © 2005–2026