Support

Account

Home Forums General Issues Query relationship fields based on added date Reply To: Query relationship fields based on added date

  • Do you mean the post date of the Person that is added in the relationship, yes and no.

    The problem is that the this post date is not part of the post where the relationship is. What you need to do is to get the post IDs only of for the related field and then run a query using this list of post IDs in the “post__in” argument of the query combined with a post_date query.