Custom Post hierarchical to custom taxonomy

This might not answer your question, but you have a few issues with your code

  • Do not use uppercase letters in function names, taxonomy names and custom post type names. Only use lowercase letters. Separate names with a underscore (_). Also, just a tip, never start these names with letters, or use a hyphen (-) to separate names

  • Never use flush_rewrite_rules(); in the fashion you have done. It is an extremely expensive operation to use. As it stands, it will load on every page load. This will increase your loading time considerable, which is bad when it comes to SEO. Check the codex for proper use.

  • Do not create multiple functions which is hooked to the same hook. Create one function, and hook that function to the desired hook