-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Support hiding post status and publish date controls in the post status panel #75529
Copy link
Copy link
Open
Labels
Needs Technical FeedbackNeeds testing from a developer perspective.Needs testing from a developer perspective.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
What problem does this address?
Our team is using the block editor for editing email custom post types. Currently, we hide the post status panel in the sidebar (via removeEditorPanel( 'post-status' ); because it contains controls we don't want to present to the users.
The current state
For our usecase we would like to hide:
- status - we don't want to allow changing the status
- publish date
- word count, time read info - They don’t add much value in the email context
Desired state
We do want to add a couple of custom controls, ideally above the template option. Currently, it is possible to add new items only below the existing ones.
What is your proposed solution?
I don't know what would be the best solution here. I think we could add new options to the register_custom_post_type function to configure the post type to have a hidden status and publish date.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs Technical FeedbackNeeds testing from a developer perspective.Needs testing from a developer perspective.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Fields
Give feedbackNo fields configured for issues without a type.