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.

How can I achieve a separate "data space" for the categories of my custom post type? I don't want the general post categories to appear in my custom post type and vice versa.

The register_taxonomy function seems to add a "tagging system" (bottom panel in the screen) to the post type but not the same small window the "real" categories have (upper panel in the screen).

custom categories vs custom tags

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You can use register_taxonomy to create a category-like custom taxonomy using the argument 'hierarchical' set to true.

In Codex example see the first taxonomy registered ("Genres").

share|improve this answer
    
Gosh, I feel dumb. Thanks!! –  Matthias Max Apr 30 at 13:15

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.