WordPress / WordPress/gutenberg

Add Custom Post Types to Editor Navigation Sidebar

Open
#65,327 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Feature] Extensibility [Type] Enhancement
Dominant language
JavaScript
Stars
11.8k
Forks
4.9k
PR merge metrics
PR metrics pending

Description

What problem does this address?

We are able to edit pages in the Appearance > Editor with the "SidebarNavigationScreenMain" component, but custom post types aren't added to this list and thus we can't edit them in the same editor.

What is your proposed solution?

Make the SidebarNavigationScreenMain content dynamic or add a hook for adding custom post types to it?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the SidebarNavigationScreenMain component and reading how the Appearance > Editor navigation list is assembled. Determine how custom post types should be exposed there, then verify that they appear in the sidebar and can be opened in the editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.