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

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 10 12:20:30 UTC 2010


#13816: There should be built-in index pages for taxonomies
-----------------------------+----------------------------------------------
 Reporter:  frankieroberto   |       Owner:            
     Type:  feature request  |      Status:  new       
 Priority:  normal           |   Milestone:  Unassigned
Component:  General          |     Version:            
 Severity:  normal           |    Keywords:            
-----------------------------+----------------------------------------------
 By default, if you enable 'pretty' permalinks, you get URLs like this for
 categories and tags: /category/slug,   /tag/slug.  The same pattern is
 used when adding custom taxonomy types.

 These URLs often suggest to people that it should be possible to go 'up'
 one level, and access index pages at /category and /tag which list all of
 the available categories or tags (or maybe just the top x most popular
 ones for tags).

 I'd suggest that we add a new template type of is_archive_index() which
 uses, in order of preference, taxononmyname-index.php (eg category-
 index.php), archive-index.php.

 Within these templates, the 'loop' should return taxonomy items rather
 than posts.

 This is all possible already using custom templates and get_terms(), but
 it'd be handy if it was built-in.

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


More information about the wp-trac mailing list