[wp-trac] [WordPress Trac] #37424: Add argument to register_taxonomy to specify which post type(s) show up on Tax archive

WordPress Trac noreply at wordpress.org
Wed Jul 20 18:52:15 UTC 2016


#37424: Add argument to register_taxonomy to specify which post type(s) show up on
Tax archive
-------------------------+-----------------------------
 Reporter:  sc0ttkclark  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Query        |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Right now, taxonomy archives only show the default `post` post type in
 their archives. However, it would be greatly useful during
 `register_taxonomy()` to specify exactly which post type(s) should appear
 under the associated taxonomy archive.

 So this would touch `register_taxonomy()` to set the argument, and
 `WP_Query` to make use of the argument when setting the default post type
 for the query to use (if one has not been specified).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37424>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list