1

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

3

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").

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.