[wp-trac] [WordPress Trac] #16075: Add Post Type Archives support in Nav Menus
WordPress Trac
noreply at wordpress.org
Wed Sep 2 14:32:21 UTC 2015
#16075: Add Post Type Archives support in Nav Menus
-----------------------------------+----------------------------
Reporter: matzipan | Owner: aaroncampbell
Type: enhancement | Status: accepted
Priority: normal | Milestone: 4.4
Component: Menus | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch ui-feedback | Focuses:
-----------------------------------+----------------------------
Changes (by aaroncampbell):
* owner: => aaroncampbell
* status: reviewing => accepted
* milestone: Future Release => 4.4
Comment:
I'll go ahead and take ownership on this one for now. The first thing we
need to do is decide what kind of promises we think we're making to the
users here and if we can fulfill those. Like @Helen said:
we do have a base issue of "where do we put this and what does this
promise to the user" - does it promise the user that the archive works as
they expect it?
How common is the case where a plugin adds a post type with an archive,
but the theme doesn't display the archive correctly?
After we figure that out, we need to make some UI decisions. The main
thing here is:
Do the checkboxes for archives go in the existing post type boxes (an
"Archive" checkbox at the top of each that has an archive?) or do they go
in a metabox of their own?
This would mean a new screen option:
[[Image(https://cldup.com/uhWZrdWf22D/t7h437.png)]]
And would look like this in the menus:
[[Image(https://cldup.com/uhWZrdWf22D/jOk0Bv.png)]]
The alternative would be to add the checkbox to the top of the existing
post type meta boxes:
[[Image(https://cldup.com/uhWZrdWf22D/GpaZ8j.png)]]
Once we do all that, we'll also need to extend this solution to the nav
menus in the customizer (something neither the most current patch or the
plugin here do).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16075#comment:90>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list