[wp-trac] [WordPress Trac] #16075: Add Post Type Archives support in Nav Menus

WordPress Trac noreply at wordpress.org
Sun Mar 3 23:18:45 UTC 2013


#16075: Add Post Type Archives support in Nav Menus
---------------------------------+-------------------------
 Reporter:  matzipan             |       Owner:  raulillana
     Type:  enhancement          |      Status:  assigned
 Priority:  normal               |   Milestone:  3.6
Component:  Menus                |     Version:  3.1
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.6-menus  |
---------------------------------+-------------------------
Changes (by Frank Klein):

 * cc: Frank, Klein (added)


Comment:

 I tested the most recent patch, and here are the issues I ran into:
 * With the permalinks settings on default, the link of the custom post
 type archive doesn't work, as it relies on the slug.
 * After enabling a common setting for the permalinks, the link to the CPT
 archive worked and the menu item had the {{{current-menu-item}}} CSS class
 added to it. However on the single page of the CPT, there were no parent
 or ancestor classes added to the menu item.
 * On the Menus screen in the admin, the link to the CPT archive is marked
 as "custom", it should have another label.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16075#comment:50>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list