Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

In the WP-Admin when creating a post or a custom post type I want to restrict certain categories to a custom post type. For example, Posts will only be able to select Category A and B. And custom post type A will only be able to select Category C and D.

Would I have to write some code to hook into somewhere or is there a function built-in to the framework?

Thanks in advance.

share|improve this question

1 Answer

up vote 2 down vote accepted

I think the best way to do this is to make a category (or taxonomy ) for a specific post type...

please see this link... http://net.tutsplus.com/tutorials/wordpress/introducing-wordpress-3-custom-taxonomies/

share|improve this answer
Thank you. This is exactly what I looking for, I missed it the first time because it looked like tags and I did not specify hierarchical. – imHavoc Jun 22 '11 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.