sinanisler logo

Disable Block Editor, Reverting to Classic Editor in WordPress

This snippet disables the Gutenberg / Block editor in WordPress

add_filter('gutenberg_can_edit_post', '__return_false', 5);
add_filter('use_block_editor_for_post', '__return_false', 5);

Advantages of Gutenberg Editor:

  1. Block-Based Editing: Gutenberg’s block-based approach allows for more control and flexibility. Each piece of content – be it a paragraph, image, or video – is its own block, making it easier to manipulate and arrange.
  2. Modern Interface: With a more modern and cleaner interface, Gutenberg is more user-friendly, especially for those new to WordPress.
  3. Enhanced Media Handling: Gutenberg simplifies the process of adding and editing media content, with features like drag-and-drop image uploads and easy image gallery creation.
  4. Mobile-Friendly Editing: The editor is optimized for mobile use, making it easy to manage content on the go.
  5. Custom Blocks: Developers can create custom blocks, extending the functionality and allowing for more tailored content creation.
  6. Reusable Blocks: You can save and reuse blocks across different posts and pages, saving time and maintaining consistency.
  7. Content Focus: Gutenberg encourages a more content-focused approach to website building, making it easier for non-technical users to create visually appealing layouts.

Leave the first comment