• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Speaking
  • Connect
    Mastodon GitHub Twitter (inactive)
You are here: Home / Recommendations / Gutenberg and the Classic Editor Plugin
Picture of Right Turn Lane Labeled "Turn Left".

Gutenberg and the Classic Editor Plugin

Last updated on December 6, 2018 by Sal Ferrarello

With the newly released WordPress 5.0, which includes the new block-based Gutenberg editing experience, many people are installing the Classic Editor plugin to retain the previous behavior.

The Classic Editor plugin is the official solution being prescribed for these situations.

No problem, install the Classic Editor plugin and 5.0 will be indistinguishable from 4.9.8 for your posting and editing experience

Matt Mullenweg

Based on everything I’ve heard, my understanding was that this plugin will suspend the new editor on a site, however this is not entirely true.

Default Behavior

The default behavior is not to simply revert to the classic editor instead you are given the choice between the Block Editor and Classic Editor. Additionally, when you are editing a post with the Classic Editor you are presented with a link to Switch to Block Editor.

These are not bad defaults for some use cases but they are different from how the Classic Editor has been pitched to members of the community.

Block / Classic Editor Links

When viewing your list of posts, the type of editor used (Classic or Block) is displayed and in the list of actions you can perform on the post you are presented with Block Editor and Classic Editor.

Screenshot of the WP admin blog post list with Block Editor and Classic Editor options.

Switch to Block Editor Link

When editing a post with the Classic Editor, a Switch to Block Editor link is included.

Screenshot of the call to action 'Switch to Block Editor' link shown while editing a post.

Classic Editor Settings

Once installed the Classic Editor plugin adds two settings to Settings > Writing.

  • Default editor for all users
  • Allow users to switch editors

Classic Editor Default Values

Screenshot of the Classic Editor Settings with default values

As you can see in this screen shot, the default values are:

  • Classic Editor for the default editor
  • Yes for allowing users to switch editors

What the Defaults Should Have Been

The Allow users to switch editors default value should have been No. When this change is made, I get the behavior I was promised.

The site uses the Classic Editor the same way it did in WordPress 4.9.8 and no prompts to use the new block based editor are present.

How to Fix It

In the WP Admin, go to Settings > Writing.

Change the Allow users to switch editors setting to No.

Updating the value with WP CLI

You can update this setting with WP CLI, rather than manually logging into a site to update the option.

$ wp option update classic-editor-allow-users disallow

Alternative Plugin to Disable Gutenberg

Though the Classic Editor plugin is the one mentioned most often, the Disable Gutenberg plugin does what the name says, making it a better choice for temporarily delaying the new WordPress Gutenberg editing experience.

Photo Credit

By Zyance [CC BY-SA 2.5], from Wikimedia Commons

Sal Ferrarello
Sal Ferrarello (@salcode)
Sal is a PHP developer with a focus on the WordPress platform. He is a conference speaker with a background including Piano Player, Radio DJ, Magician/Juggler, Beach Photographer, and High School Math Teacher. Sal can be found professionally at WebDevStudios, where he works as a senior backend engineer.

Share this post:

Share on TwitterShare on FacebookShare on LinkedInShare on EmailShare on Reddit

Filed Under: Dev Tips, Recommendations, Solution Tagged With: Gutenberg, WordPress

Reader Interactions

Comments

  1. CHARLES MOONEY says

    December 10, 2018 at 8:50 am

    This article is gonna save me from having to do a *ton* of troubleshooting for a ton of users.

    Reply
  2. Richard says

    January 18, 2019 at 10:33 am

    I have Classic Editor installed on a few client sites, but do not have the options in Settings > Writing.

    Reply
    • Sal Ferrarello says

      January 18, 2019 at 12:36 pm

      Hi Richard,

      I would double-check:

      • You are running the latest version of WordPress (5.0.3 as I write this)
      • You are running the latest version of Classic Editor (1.3 as I write this)
      • You are using an administrator account
      • You are going to /wp-admin/options-writing.php
      Reply

Leave a Reply Cancel reply

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

Copyright © 2023 · Bootstrap4 Genesis on Genesis Framework · WordPress · Log in