I'm having some custom post type but I want to add categories for it. Not for the URL(-structure) but for an archive page, which shows every category after each other. So the items are organized. Anyway to do this or isn't this possible?
If you want to use builtin WordPress categories, while calling register_post_type function with
If you want to create a custom category, then use register_taxonomy function to register a brand new taxonomy with second parameter to be your custom post type name and pass it taxonomy name to
A sample would look something like this