12 Methods to Avoid Gutenberg on Your Website

Updated August 2nd, 2018 added a 12th method to the Gutenberg Call-out section.

Updated August 1, 2018 added an 11th method to the Gutenberg Nag section.

Gutenberg, the new visual editor for WordPress will be merged into  Core as the default editor later this year, when WordPress 5.0 will be released.

This week a “Try Gutenberg” call out will be released with WordPress 4.9.8 with an button to to install the Gutenberg plugin for post and pages or install official Classic Editor. If you install the Classic Editor, you will be able to keep using the current editor beyond the merge of Gutenberg into Core.

Beyond this global opt-out methods,  developers, consultants and site admins can make more nuanced decisions on how Gutenberg is implemented on their sites. Here is a list. If you find one missing, feel free to post a link in the comments and we’ll update the post. 

Caveat: Use at your own risk. We did not test the latest versions of mentioned plugins.

Built-in Methods and Plugins maintained by Core Contributors

Gary Pendergast, summarized built-in Methods that will be available when Gutenberg is merged into Core.

Note: There is not a single method. It’s all depends on context.

The Classic Editor plugin is the option for reverting to the classic editor across an entire site. It’s being advertised prominently in the upcoming WordPress 4.9.8 release as an option to install now, in preparation for WordPress 5.0. If you’re a site builder who wishes to opt your clients out of the block editor, installing the Classic Editor plugin (and contributing with bug reports or fixes) is the best long term solution to ensure the classic editor will continue to be available.

For metaboxes, it’s already possible to opt-out of the block editor, this API will be merged into Core.

For CPTs, the gutenberg_can_edit_post_type filter will be renamed when it’s merged (probably to block_editor_can_edit_post_type, or something of that nature), but will also be available as a code-based option.

Methods to avoid or modify the Gutenberg Nag

Built into Core with with 4.9.8 

For site – owners,  the easiest way is to just use the “Dismiss” link on the right side. Once you dismiss the prompt it won’t show up again. Wow, that was easy:-)

Via code in a plugin or in a file stored in /mu-plugins folder

add_action( 'init', function() {
    remove_action( 'try_gutenberg_panel', 'wp_try_gutenberg_panel' );  
});

The is also a new filter  try_gutenberg_learn_more_link  “that allows hosts or site owners to change the link, to provide extra information about Gutenberg, specific to their service or site. ” (Quoted from the trac ticket)

More details on both can be found on the Core Make blog

Plugins to disable the notice

There are a few plugins available that suppress the so called “Gutenberg Nag”.

Additional Plugins available on the WordPress Plugin Repository

Over the last four months, plugin developers also created various solutions to have a more granular control over Gutenberg editing experience.

  • Gutenberg Ramp – published by WordPress VIP team, allows you to enable Gutenberg on a post level basis for CTPs if they support the editor.
  • Jeff Starr’s plugin “Disable Gutenberg”  completely disable Gutenberg editor, and gives us the choice to do it by post type or user role.
  • Sara Gooding on WPTavern reviewed the Classic Editor Addon Plugin, that also implemented a feature to disable the 4.9.8 nag, but also needs the Classic Editor plugin installed.
  • Gutenberg Manager by the unCommons Team, also allows you to disable Gutenberg for selected Custom post types.
  • With Lee Rickler’s plugin GutenBeGone – you can disable individual Blocks that come with Gutenberg

Photo by Jamie Street on Unsplash

7 thoughts on “12 Methods to Avoid Gutenberg on Your Website

Leave a Reply

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