I created two different custom post types: "Videos" and "Locations."
I then created a custom taxonomy called "Video_Categories."
I have assigned this custom taxonomy to both of the custom post types.
What I want to do is display the Videos that have the same terms as one another on the Locations.
For example:
Video posts:
- Name: Video 1; Video_Category: Brisbane, Queensland;
- Name: Video 2; Video_Category: Gold Coast, Queensland;
- Name: Video 3; Video_Category: Sunshine Coast, Queensland;
Location post:
- Name: Brisbane; Video_Category: Brisbane;
I want to create a query from the Location page that looks at the taxonomy of this post and returns the video posts that have the same taxonomy.
In the above example, the "Video 1" video post would be returned and displayed on the location page.