James Glen
  • Home
  • About
  • Portfolio
  • Blog
  • Contact

How to disable Gutenberg editor through functions.php

James 7th December 2018 0 Comments

WordPress 5.0 is being rolled out which will replace the classic editor with a block type editor titled ‘Gutenberg’. For those that wish to remain with the classic editor but do not want to install any additional plugins, you can follow these quick steps:

  1. Create a child theme of your template and make sure it has a functions.php file
  2. Add the following code to your functions.php (in the child theme)
    • add_filter('use_block_editor_for_post', '__return_false');
  3. Save the file and your classic editor will be restored
classic editorfunctions.phpgutenberg

Comments

No Comments

Leave a commentCancel 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.


Recent news
1 min read

Photoshop – Cartoon & Sketch Effects

Graphic Design
1 min read

Fantasy Photoshop Effects

Graphic Design
1 min read

Long Life Spa Therapy – Branding

Graphic Design
1 min read

Ceres Community Council – Letterhead

Graphic Design
James Glen
  • Press Releases
  • Campaigns
  • Video
  • Privacy & Cookie Policy

Copyright © 2018 James Glen. Powered by Design Fife