You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: