Since the end of 2018, the default editor in WordPress has changed. Instead of the classic TinyMCE editor, the Gutenberg block editor began to be used in WordPress.

But for many users, the transition to the new editor is not quite smooth. Therefore, in this article, I will consider ways to disable Gutenberg in WordPress and return to the classic editor.

Method 1. Turn off Gutenberg with a code

Paste the following code into your theme’s functions.php file:

## This code disables Gutenberg (the new block editor in WordPress).
## ver: 1.0
if( 'disable_gutenberg' ){
    add_filter( 'use_block_editor_for_post_type', '__return_false', 100 );

    // Move the Privacy Policy help notice back under the title field.
    add_action( 'admin_init', function(){
        remove_action( 'admin_notices', [ 'WP_Privacy_Policy_Content', 'notice' ] );
        add_action( 'edit_form_after_title', [ 'WP_Privacy_Policy_Content', 'notice' ] );
    } );
}

I recommend using a child theme to embed the code.

to table of contents ↑

Method 2. Bring back the classic editor with a plugin.

You can return the classic WordPress editor using the Classic Editor plugin. Install the plugin on your WordPress site and activate it.

classic editor3

In the plugin settings, in the “Default Editor” block, activate the Classic Editor option for all users.

vidklyuchyty hutenberh
Configuring the Classic Editor plugin

Features of the plugin:

  • The administrator can specify a default editor for all users.
  • An administrator can allow users to change their default editor.
  • When Classic Editor is enabled, users can choose which editor to use for each post or page
  • Each post opens in the last editor used, regardless of who edited it last. This is required to maintain compatibility during editing.
to table of contents ↑

Method 3. Bring back the classic editor in theme options

If you use the Divi theme on your site, you can disable Gutenberg and return the classic editor in the Divi theme settings: section “Divi Theme Options” – > Enable Classic Editor.

classic editor2
The option to turn on the classic editor in the Divi theme
Good luck
Olexander Koval
Categories: Plugins and codes

About the author

Oleksandr Koval

Oleksandr Koval

Private Entrepreneur. IT specialist. I create online stores, help support their work, and expand functionality and capabilities. Write if you need help with website development.

Share via
Send this to a friend