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

WordPress Trac noreply at wordpress.org
Sat Sep 5 01:29:43 UTC 2015


#16075: Add Post Type Archives support in Nav Menus
-------------------------------------------------+-------------------------
 Reporter:  matzipan                             |       Owner:
     Type:  enhancement                          |  aaroncampbell
 Priority:  normal                               |      Status:  assigned
Component:  Menus                                |   Milestone:  4.4
 Severity:  normal                               |     Version:  3.1
 Keywords:  has-patch ui-feedback needs-testing  |  Resolution:
                                                 |     Focuses:
-------------------------------------------------+-------------------------

Comment (by seanchayes):

 I pulled down this patch as I too would like this functionality (to avoid
 using custom links). Tested out well in both the Menus screen as well as
 the Customizer.

 One odd behavior I found relates to the Screen Options checkboxes on the
 Menus screen. There was an instance, that I can't seem to repeatedly and
 consistently replicate >:-|  I found that adding a check to a box such as
 "Custom Links" or "Format" enabled not only the selected checkbox/option
 but all of them upon menu save. As a result all the side drop down
 accordions would show. A minor inconvenience but not desired in that
 example. I have a feeling it only happens once and then after a period of
 time. I did try to debug where that could be being triggered from but
 couldn't figure it out.

 I think having the "All Items" label for each relevant post type should
 exist within it's post type accordion box (as you have it). Having that
 link in "View All" is fairly intuitive but does take an extra click to
 find it but it is there and functional.

 Having said that, in the Customizer all CPT navigation options are
 available regardless of the checked items' status in screen options so it
 could be argued to show all the CPT accordions in the Menus screen.

 As it relates to the customizer screen it does show an option for the CPT
 but the label is not correct (lower case in this example) and the related
 post type archive link doesn't show up. (See following images)

 Great work regardless.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/16075#comment:96>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list