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

Hi,

I have got a custom post type (book group) set up by Metabox with a relation to another custom post type (book group location).

I have a single post template setup, which I have applied to the “book group location” post type, and I want to display details of the book group location, and a list of future book groups that are linked to that location.

I’m using a query loop to display posts that are associated with the related book group location, using the “Type = MB Relationship” (as shown below).

image

This works perfectly to display the correct posts. However, I would also like to apply a post order and a meta query to further refine the list of posts, but these options (shown below) are not shown when I select “Type = MB Relationship”

image
image

Is it possible to do this in Bricks using the query loop? I’ve tried using nested loops without any success so far.

Any help would be gratefully received.

1 Like

It would at least be useful to know if either:

  1. It is possible and I’m just doing it wrong, or
  2. It’s not possible with the query loop, and I’m barking up the wrong tree…

I can’t be the only one trying to do something like this, so if anyone has any insight on this I’d be really grateful.

Thanks

1 Like