[wp-trac]
[WordPress Trac] #10122: register_taxonomy only for tags,
not for categories ?
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 12 08:42:36 GMT 2009
#10122: register_taxonomy only for tags, not for categories ?
-----------------------------+----------------------------------------------
Reporter: nicomollet | Owner: filosofo
Type: feature request | Status: new
Priority: normal | Milestone: Unassigned
Component: Taxonomy | Version: 2.8
Severity: minor | Keywords:
-----------------------------+----------------------------------------------
WP2.8 new taxonomy features make us create new taxonomies. Example in
[http://justintadlock.com/archives/2009/05/06/custom-taxonomies-in-
wordpress-28]
You can make new taxonomy tags "Animals" with this simple line of code :
{{{
register_taxonomy( 'animals', 'post', array( 'hierarchical' => false,
'label' => 'Animals' ) );
}}}
But it seems possible to create new taxonomy categories, like "Rating" (G,
PG, PG-13, R, NC-17) with :
{{{
register_taxonomy( 'rating', 'post', array('hierarchical' => true,
'label' => 'Rating') );
}}}
This last line of code does nothing at all. It is supposed to work ? Maybe
it needs to be implemented.
Thanx
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10122>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list