[wp-trac] [WordPress Trac] #16233: Custom taxonomy archive returns 404 when it contains only custom post types

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 14 17:21:56 UTC 2011


#16233: Custom taxonomy archive returns 404 when it contains only custom post types
------------------------------------+-----------------------------
 Reporter:  sillybean               |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Taxonomy                |     Version:  3.1
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback 3.2-early  |
------------------------------------+-----------------------------
Changes (by dd32):

 * keywords:   => dev-feedback 3.2-early
 * milestone:  Awaiting Review => Future Release


Comment:

 This is "by design" for loops, custom post types don't show in the
 standard loop, or archive loops.

 Taxonomies default to listing posts only, If it applies to other post
 types, then they're skipped unless you add it by hooking and modifying the
 queryvars on load.

 In my opinion, If a custom taxonomy is registered as public, then it
 should be querying all registered post types to that taxonomy.

 Date Timeline archive views are different, and like pages, custom post
 types should be excluded as currently happens.

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


More information about the wp-trac mailing list