WordPress / WordPress/gutenberg
Add Custom Post Types to Editor Navigation Sidebar
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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