In my backend, I'm trying to have Insurance setup, where I'd have insurance companies, insurance branches and, of course, contracts that will be tied to users. Now, I have created a custom post type for insurance companies, and custom taxonomy for insurance branches.
This way, I can add insurance branches, like Health Insurance, Life Insurance, etc., create new insurance company(post type insurance company), and set which insurance branches does this new company provide services for(insurance branches).
With all this being said, I'd like to have a custom post type again, for contracts that users have signed with insurance companies, but I need a way to relate one post type with another(insurance contracts->insurance companies). It seems like that's not possible with either WordPress or CPT UI plugin. The only way I figured was to create both taxonomy for insurance companies and post type, and then create a post type for insurance contracts, then use insurance company taxonomy to tie it to said custom post type, insurance contracts.
Is there a better way to achieve this?