[wp-trac] [WordPress Trac] #16075: Post type archive registered as entry in nav menus
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 4 11:18:55 UTC 2011
#16075: Post type archive registered as entry in nav menus
-------------------------+-----------------------------
Reporter: matzipan | Owner: matzipan
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Menus | Version: 3.1
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+-----------------------------
Changes (by travisnorthcutt):
* cc: travis@… (added)
* keywords: => needs-patch
Comment:
''I wish to be able to add the archive page to the menu without adding the
menu entry as hardcoded link (in my case /artists/)''
Someone correct me if I'm wrong, but I believe adding the archive page to
the menu as a hardcoded link `(http://site.com/post-type)` does apply the
expected `current-menu-item` class. However, adding the archive page as a
relative link `(/post-type)` does not. Semantics, I know, but worth
mentioning.
That being said, I agree that there's a need for a metabox on the menu
page that would allow adding custom post type archives to a menu, and
would cause the appropriate classes to be added.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16075#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list