Add a meta query to a query loop where posts are filtered by Metabox relation

I hear you.

But relationship queries are not just simple queries, therefore the implementation is more complicated. Also, I don’t think you really want your customer to change query parameters either.

Anyway, you can of course make a first query of the post type and its posts, and within this query make a second query where you check in the meta query parameters for the post_id.

Or when you are in a single post template, you can make a query in that template with the meta query parameter for the post_id.

Both will then find all related posts that have the post_id of the post from the first query or from the single post template.

Then you have all sorting etc. query parameters.

See this for more info:

The meta key has to be the name of the relationship field and the meta value must be “{post_id}” including the quotes!

Cheers

Patric