Hi I’ve just started building a new site and using the new WordPress 5 release. I’ve notice I can no longer hide the “content editor” in the back end. I’m guessing this is because WordPress 5 has changed things some what in the back end!
Is there a solution to this?
regards
Paul
You can use:
add_action( ‘init’, function() {
remove_post_type_support( ‘post’, ‘editor’ );
remove_post_type_support( ‘page’, ‘editor’ );
}, 99);
See
Same problem here, how to hide content editor in WP 5? ACF options is not working @eliot could you implement this -> https://www.isitwp.com/disable-content-editor-for-specific-page-template/ ?
Just put the above action in your functions.php file, and the content editor will be gone in WP5.
I know it woks but hey shound implement it in ACF!
This is one of the issues that Elliot is working on for 5.8, this was the main issue asked and there are several other issues linked from it https://github.com/WordPress/gutenberg/issues/12692. I don’t know the status of it though.