[wp-trac] [WordPress Trac] #13816: There should be built-in index pages for taxonomies

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 4 09:03:00 UTC 2011


#13816: There should be built-in index pages for taxonomies
-----------------------------+-----------------------------
 Reporter:  frankieroberto   |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Taxonomy         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+-----------------------------

Comment (by janfabry):

 Replying to [comment:4 frankieroberto]:
 > @scribu I'm not sure what you mean? Surely the most obvious thing to
 display at /category or /tag is a list (or tag cloud) of the
 categories/tags that you use (perhaps in order of popularity).

 I don't know what would be most obvious, I have seen
 [http://wordpress.stackexchange.com/questions/4663/custom-taxonomy-
 listing-page-when-no-term-set-all-terms multiple]
 [http://stackoverflow.com/questions/4642624/how-to-list-all-items-in-
 custom-taxonomy-with-a-permalink-in-wordpress requests] for this, and they
 don't always ask for a list of ''terms'', but instead want the ''posts''
 linked to these terms.

 It would also cause serious compatibility problems for themes that don't
 have this template. We probably fall back on {{{archive.php}}} or
 {{{index.php}}}, but these loops expect posts, not terms, and thus most
 template tags won't work.

 Maybe we should implement both ways, and make both of them optional? Add a
 {{{has_archive}}} argument that would add a post index, and a
 {{{has_terms_archive}}} argument that would add a terms index. Make them
 exclude each other or accept a rewrite prefix so they can exist at
 different locations.

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


More information about the wp-trac mailing list