More
    Home Web Development WordPress How to Disable the WordPress Gutenberg Editor Without Any...

    How to Disable the WordPress Gutenberg Editor Without Any Plugin

    The latest WordPress version 5.0 introduced the Gutenberg Editor / Block Editor replacing the old Classic Editor. Today we will be discussing on how we can disable the Gutenberg Editor and get back the Original Classic Editor in WordPress without using any 3rd party plugins or the Classic Editor Plugin.

    You can switch back to the classic editor by installing the Classic Editor or by disabling the Gutenberg plugin. In fact, the classic Classic Editor editor code, which was not deleted in WordPress 5.0, is just a switch.

     

    How to Switch to Classic Editor in WordPress 5.0 Without any Plugin?

    You can very easily disable the Gutenberg Editor in WordPress 5.0, you just need to add the below code in the functions.php file of your theme.

    add_filter('use_block_editor_for_post', '__return_false');
    

    You can find the functions.php file in the wp-content/themes directory inside your theme folder. You can also edit the file directly from WordPress, to do so head over to Appearance >> Theme Editor and edit the functions.php file.

    After doing the above step the Gutenberg editor will be disabled and the old Classic Editor will be restored, however, the front-end will still load the relevant style files for the Gutenberg editor and to complete disable those too add the below line of code into your functions.php just below the above code.

    **
    * Disable Gutenberg frontend scripts.
    */
    function df_disable_gutenberg_wp_enqueue_scripts() {
    wp_dequeue_style('wp-block-library');
    }
    
    add_filter('wp_enqueue_scripts', 'df_disable_gutenberg_wp_enqueue_scripts', 100);
    
    

     

    This will prevent front-end from loading the style files.

    According to the official WP Blog, the Classic Editor will be completely removed from WordPress in 2021, but you don’t have to worry about it. There will be a full set of Classic Editor editor plug-ins for you to choose and get the Classic Editor back.

    Method 2: Using the Official Classic Editor Plugin

    You just need to install the plugin and that’s all the Gutenberg Editor is gone.

    However, if you don’t want tons of plugins into your WordPress installation then the above method also works fine and does the same thing as this plugin do.

    Classic Editor
    Classic Editor
    Price: Free

     

    Editor's Pick

    10 Efficient Link Building Tactics for Ecommerce Stores

    Good organic ranking in search engines is essential for any eCommerce business, and link building is a powerful method to achieve it....

    11 Best Video Presentation Softwares To Up Your Presentation Game

    Have you got a major presentation coming up? Wish to attract the attention of your audience? The best way to ensure that...

    Top 3 Cameras For Recording Podcasts in 2020

    Video podcasting is a new and effective way of sharing, and airing your opinions. The platform gives a wide range of advantages...

    9 Benefits of Using WordPress for Your Business Website

    Since its inception back in 2003, WordPress has become one of the most sought after blogging platforms in the market. Over the last couple...

    Headless WordPress- Designing WordPress Site Without a Theme

    Wordpress has always been the go-to solution for most businesses that look out for a digital presence. The leading CMS platform excels...
    How to Disable the WordPress Gutenberg Editor Without Any Plugin 2
    Vaibhav Jain
    Vaibhav is a specialist in Website Development whose goal is to never write a boring article. His enthusiasm for online business has spanned over two years, accompanying his articles with thorough knowledge about Website Development and many other topics. He also enjoys playing Cricket and is a Fitness enthusiast.
    Subscribe
    Notify of
    guest
    0 Comments
    Inline Feedbacks
    View all comments
    0
    Would love your thoughts, please comment.x
    ()
    x