wp-posts-to-posts icon indicating copy to clipboard operation
wp-posts-to-posts copied to clipboard

Show custom taxonomies of linked post type

Open mueedkh opened this issue 6 years ago • 1 comments

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.

mueedkh avatar Mar 02 '18 08:03 mueedkh

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

bbtodd avatar Nov 23 '19 16:11 bbtodd