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.
Related Posts:
- Disable block from editor based on post type
- WordPress v5.0.3 Gutenberg & JS error “Uncaught SyntaxError: missing ) after argument list”
- Gutenberg gallery hook errors
- What is the best filter where to use register_block_type?
- @wordpress/hooks use to add actions/filters within multiple plugin
- How to extend custom (non-core) blocks?
- Is it possible to switch Gutenberg’s editor styles when document settings change?
- How do I run an action after a featured image has been selected in the Gutenberg editor?
- WordPress How to reorder Page/Post Settings
- How To Apply Different Styles To All Blocks Based on Post Meta Value?
- getSaveContent.extraProps hook for core/post-title doesn’t add new attributes on to the frontend
- How to set Post ID from context to an attribute in child block of Gutenberg Query Loop
- Creating my own “recent blog posts” static Gutenberg block, can’t use react hooks in the frontend
- The enqueue_block_assets is changing the styles of the editor interface
- Unable to trigger a frontend @wordpress/hooks action
- Replacing specific Gutenberg blocks
- How to hook update_post_meta and delete_post_meta?
- Are there any hooks that alter the 404 logic?
- Use wp init hook to call other hooks?
- Set default image link target in Gutenberg image block
- Hook that fires when admin setting is saved
- What is the difference between update_post_meta and update_postmeta hooks?
- How to remove action hook done in a plugin from functions.php in my theme?
- Hooks for trashing, deleting, saving, restoring custom post type
- Implementing advanced add_* function wrappers
- Hook into wp_head(); in a plugin
- admin_post hook not called
- deactivated_plugin hook: get the name of the plugin
- Is there a hook for user activation (after they click the email confirm)?
- Bulk action hook for admin pages which uses WP_List_Table
- How to hook into user registration process Before user registers
- WP Admin Bar frontend issue with dashicon deregister
- Searching a hook which triggers when deleting a post to get all comments
- add_action for lost_password or modify wp-login.php?action=lostpassword
- Add my own function to existing WooCommerce hook
- Firing a function AFTER redirect
- WordPress hook that gets featured image from direct URL?
- Why is save_post hook being called twice despite all my efforts?
- What’s hook to use immediately after a user is authentcated [duplicate]
- Hook before posting via JSON REST API
- add_action for unknown custom post types
- When is the {$new_status}_{$post->post_type} transition hook fired?
- How to change the order of HTML output of a core block?
- How to exclude a list of specific category in category widget in new post admin screen?
- Method to find a hook
- Understanding WP
- Get post or page id early
- Looking for a hook for post.php
- Executing Arbitrary Code at a Specific URL without Creating a Post or Page?
- Update a costume wp_usermeta key back to 0 every 24hours (time can be specified as needed)
- How can I add class to every quote element?
- customize_controls_enqueue_scripts doesn’t fire from within my plugin
- Save User Meta Email Address in Lowercase
- When are wp redirect methods safe to hook?
- WooCommerce single product page quantity description [closed]
- Execute JavaScript in WordPress Hook
- How to cancel the trash action inside wp_trash_post
- Show message in media-new.php
- Hooks are not being removed in child theme
- add_action second argument missing
- admin_notices action doesn’t trigger within save_post action
- When a plugin gets updated from the repo, does the “activation” hook fire again?
- Defining hooks within (php)classes?
- Divi hook not working [closed]
- Get terms of a taxonomy using useSelect
- Add WordPress hook outside of Plugin or Theme
- How to perform action when plugin/theme editor is used?
- How to run hooks one by one manually?
- What is the proper hook to use for recording a post view?
- How to load this code on function.php
- Woocommerce single_product_summary hook not working
- Where is publish_post hook fired?
- A good hook to check authorization and redirect?
- Bloginfo hook – can it be more precise?
- Custom posts and get_post_meta in {$post_status}_{$post_type}
- Hooking custom PHP output into WP: how to do it, parse_request almost works but not quite
- Print on screen during shutdown hook – error during saving in theme-editor.php
- How to stop execution of a function via add_action hook?
- Adding a new hidden field based on a condition in Ninja Forms
- Refresh Gutenberg with JS for it show updated post
- Store user ID on wp_term_taxonomy when new term inserted
- ‘user_register’ hook – need to distinguish if created from wp admin panel
- Make multiple URLs behave as home page
- Issue migrating a checkbox-type meta field to the block editor
- Transition_Post_Status hook not working properly
- Wodpress XML Import hooks
- profile_update hook does not fire from front-end
- wp_update_post not getting triggered by hook
- Why is pre_get_posts hook invoked multiple times?
- Undefined fieldId in gform.addFilter for limiting dates in datepicker – Gravity Forms
- Get First Post content and edit it using pre_get_posts (or similar?!)
- WordPress sending data with add_action
- Why does get_post() not return anything?
- Hourly events don’t get triggered
- WordPress save_post hook not firing when checking if _GET[‘post’] is set
- Access post meta just after publishing
- Which hook should I use for this scenario regarding the registration process and account/profile update?
- Redirect back to origin page after using get_delete_post_link()
- Thesis Theme -> hooks not working for custom function
- Can I display text that’s generated by a hook in another place in the HTML?