I’ve used a reverse relationship query in my theme where I query posts that have selected the current ID (of a single post type page) in a relationship field.
Now I have a WP_Query that is looking for a specific taxonomy term, and within those I need to show the custom post object that was selected within the post. Right now, it’s returning one for each post result in the query, which means there are duplicates.
Any ideas of how I should accomplish this?
I thought I could filter for duplicates but couldn’t get that working in the query loop.
Can you include the code you using to do the queries and show the results.