Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I created two custom taxonomies. I created them using identical code and then finding and replacing the "name" with "name2".

I've then looked at the post type page and there are two tag boxes to choose tags in.

However, one div is called "namediv" and the other is "tagdiv-name2".

This would suggest that one is a category and one is a taxonomy.

I know that categories are kind of a taxonomy, but why is my custom taxonomy taking the form of a category?

Thanks,

Simon

share|improve this question

1 Answer 1

up vote 2 down vote accepted

WordPress uses the category-style meta box to handle hierarchical => true taxonomies and the post tags meta box for "flat" taxonomies. The CSS in the admin UI is just ... "grown", so names like those don't change until they really need to. category and post_tag btw are just names for _builtin => true taxonomies.

share|improve this answer
1  
Ah - I'd assumed they shared a root, but hadn't looked into it. Cheers for the sharp and perfect answer :) –  Simon Forster Mar 14 '13 at 15:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.