Make WordPress Core

Opened 7 years ago

Last modified 5 years ago

#40024 new enhancement

Include CPT archives in the menu cutomizer

Reported by: eclare's profile eclare Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Menus Keywords: needs-design
Focuses: administration Cc:


If we create a new Custom Post Type and go to the menu customizer, we can insert links to particular posts of that type.

What we can't easily do is insert a link to the Custom Post Type archive page.

Example: we create a Movies CPT. We want to add a link to the list (archive) of all Movies to the menu. We can't do that unless we use the custom URL field (and the URL is not provided anywhere in the admin panel, only in the CPT registering code itself).

Enhancement needed: add a section which lets you link to archive pages for CPTs.

Suggested name for the box: "Content archives" or "Custom content archives".

Change History (4)

This ticket was mentioned in Slack in #core by noisysocks. View the logs.

5 years ago

#2 @talldanwp
5 years ago

  • Component changed from Editor to Menus
  • Keywords needs-design added
  • Milestone changed from Awaiting Review to Future Release

Hi @eclare, thanks for submitting this suggestion, and apologies for the lack of a response.

Your ticket was discussed in a triage meeting in slack (, slack account required to view).

It seems like a valid request. I've moved the ticket into the correct component, and added the needs-design keyword, so a designer can take a look and provide some feedback.

#3 @eclare
5 years ago

Great, thanks!

#4 @joyously
5 years ago

This type of link does not exist for Posts (or Pages).
This type of link does exist for taxonomies (like a specific category archive page).
For custom post types, there is a parameter when registering the type, for whether to have CPT archives, so that would need to be checked.

Note: See TracTickets for help on using tickets.