Skip to content

Document Settings: Allow *Custom* Post Types to Add Sections #15695

Closed

Description

@ellatrix

Forgive me if this issue has been reported already (I wouldn't be surprised).

Currently it is impossible to add sections to the "Document" sidebar/ inspector. There are probably good reasons for this; we may not want to let plugins bloat this area. I completely understand that in the context of core post types. However, if you register post types (which are likely to be very different from posts or pages), being able to extend the document settings is crucial. I can think of so many post types that would want to have highly used settings for the document in easy reach for the user.

So, what I'm proposing is that we add a slot or something similar only for custom post types, as we should make no assumptions on what that post type may need.

Activity

  1. added
    [Feature] Document Settings
    [Feature] Extensibility
    on May 17, 2019
  2. ellatrix commented on May 17, 2019

    @ellatrix
    MemberAuthor

    Just like we allow custom blocks to add settings to the block inspector, we should allow custom post types to add settings to the document inspector.

  3. added
    [Status] Duplicate
    on May 17, 2019
  4. swissspidy commented on May 17, 2019

    @swissspidy
    Member

    A quick search reveals #13357, which also has a PR: #13361

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Document Settings[Feature] Extensibility[Status] Duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions