Custom/separate categories for custom post type

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)