- custom post type of 'attorney'
- custom taxonomy of 'specialty', which is registered against the 'attorney' post type
- custom post type of 'practice-area'
For every specialty, there is a matching practice area. However, there are many more practice areas than there are specialties.
Ideally, when viewing a practice area (say, Bankruptcy), I'd be able to list attorneys who have Bankruptcy as a specialty.
I know I could use the posts2posts plugin, and create a connection between the attorney post type and the practice-area post type. However, that would mean essentially setting an attorney's specialty twice (once as a taxonomy term, and once as a posts2posts connection). Is there a way to somehow make a connection between the a specialty taxonomy term and the relevant practice-area post type? I could simply assume that names and/or slugs will match up, but that's a pretty hacky/fragile solution.
I'd ideally like to connect regular 'category' terms to the various 'practice-area' post types as well, to list relevant blog posts on the individual practice area pages (and vice versa).