2

How would I go about removing support for Wordpress 'Categories' for a custom post type? I've created a custom taxonomy for the post type, so there is no need for the standard categories.

Oddly, I thought this would be easy to find out how to do via Google but I can't find anything on it. Any help appreciated!

  • 2
    Can you share your code where register_post_type is being called? – hacksy Aug 8 '13 at 13:48
3

In the array of arguments to register_post_type() there is a parameter "taxonomies". If category is not specified there, then it shouldn't appear with that post type.

  • 3
    But it does. (I added it however before, but I changed my mind and can't make it disappear) – Tibor Szasz Nov 5 '15 at 2:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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