4

How to Hide/disable every feature on the New Post creator,

Just the following area visible:

  • Gutenberg Editor
  • Publish button
  • Tags
  • Categories

Even hiding the left sidebar and all menu options too.

2
  • Are you wanting to fully disable Gutenberg or just want to get it to a "blank" slate for your own custom blocks?
    – mikerojas
    Mar 27 '20 at 22:38
  • I just want a very clean environment for my author to write, with no bloat or extra setting he/she can mess up with. I feel a lot of settings not usually exposed to author or contributor level in WP are available for them in Gutenberg. Mar 28 '20 at 13:05
1

Some of the panels related to the entire post (e.g. the featured image, excerpt) can be removed and https://github.com/WordPress/gutenberg/issues/17281 shows how.

e.g.

wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'featured-image' );
wp.data.dispatch( 'core/edit-post').removeEditorPanel( 'post-excerpt' );

The sidebar is also used for additional block options and there's currently no cohesive, consistent way to manage whether a block's options are available to your editors.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.