[wp-trac] [WordPress Trac] #12068: One taxonomy for several post types

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 28 19:50:32 UTC 2010

#12068: One taxonomy for several post types
 Reporter:  typeomedia       |       Owner:             
     Type:  feature request  |      Status:  new        
 Priority:  normal           |   Milestone:  3.0        
Component:  Administration   |     Version:  3.0        
 Severity:  normal           |    Keywords:  2nd-opinion
 At the moment it is not possible to use e.g. the category taxonomy in more
 than one post type. The structure itself allows multiple usage of one
 taxonomy but you have to add the meta boxes and admin menu entries

 Example (plugin):

 register_taxonomy( 'category', 'news',
 array('hierarchical' => true,
 'update_count_callback' => '_update_post_term_count',
 'label' => __('Categories'),
 'query_var' => false,
 'rewrite' => false));

 Now the 'category' meta box and the 'category' menu entry in the post
 section vanishes but appears on the 'news' edit screen.
 Any ideas how to solve this?

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

More information about the wp-trac mailing list