[wp-trac] [WordPress Trac] #57929: only page links show up in top level navigation block links

WordPress Trac noreply at wordpress.org
Wed Mar 15 20:07:19 UTC 2023


#57929: only page links show up in top level navigation block links
-----------------------------+---------------------
 Reporter:  thomask          |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  6.2
Component:  Menus            |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  gutenberg-merge  |     Focuses:
-----------------------------+---------------------

Comment (by thomask):

 Replying to [comment:1 costdev]:

 > It appears this was a design decision, see
 https://github.com/WordPress/gutenberg/pull/48740.

 Thank you for pointing this out, this is probably the reason, but they
 somehow throw the baby out with the bath water - i can somehow understand,
 why they exclude block posts from the nav (but event that should be
 possible to turn off by some well documented filter), but they should not
 dot it by including only pages, because that way they block everything -
 including categories and CPT that has turned on the visibility in nav in
 their settings.

 And what is completely unclear for me, is why it has different behaviour
 for top links and different for submenus.

 IMO best hotfix should be excluding posts and leave everything else plus
 having some easy filter and what to exclude/include (it might make nice to
 be able to filter it e.g diferently for editors in different post types).
 And on long run it would be great to have option to select what should be
 returned directly in the popup with some easy configure box with all the
 post types and taxonomies.

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


More information about the wp-trac mailing list