wp-posts-to-posts
wp-posts-to-posts copied to clipboard
Show custom taxonomies of linked post type
I have a a connect post type called cinemas which is connected with movie Post Type. The cinema CPT bears a custom taxonomy called "cinema-city" where we can add cities and district as sub-child. I want to show the connected cinema on a single movie page in a way that the City should show once, then its children "districts" and then all cinema's under those child cats of the city.
Here is the rough idea of what I want to achieve;
Any help would be much appreciated.
Regards, M.
Late reply but may still be of help to others. I only recently discovered you can query posts based on the taxonomy of the connected post! Which I think would do what you want. https://scribu.net/wordpress/posts-to-posts/
Look for the section on: Revamped connection querying