Disable post text editor (Classic and Gutenberg)
-
Hi,
Working only with ACF for my content, the WP editor box is totally useless for me and takes place on the top of New Post.
I know how to disable visual editor but i want to turn off totally this box (and gutenber of course), or at least put it on the bottom of the page.I just want to keed “Add a media” button.
I tried this code on function.php but it failed.
add_action( ‘init’, function() { remove_post_type_support( ‘post’, ‘editor’ ); remove_post_type_support( ‘page’, ‘editor’ ); }, 99);
Anyone has an idea ?
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Disable post text editor (Classic and Gutenberg)’ is closed to new replies.