Support

Account

Home Forums ACF PRO Reverse Relationsip Queries

Solving

Reverse Relationsip Queries

  • 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.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Reverse Relationsip Queries’ is closed to new replies.