Post query loop with dynamic include/exclude?

Here is what I want to do. There is a Meta Box custom field of post list. I want to query those post to show them.
In Oxygen repeater, I can use “post__in” filter with value from dynamic data of the post list custom field.

But in bricks, The “include” option, which I suppose works like “post__in”, does not support dynamic data. I cannot find a easy way to fulfill what I want.

Is it that I just miss something or no easy way to do it in Bricks right now?

3 Likes

Any news on this?

Did you find a solution @frozenwind?

The example in the documentation is exactly what you are looking for: Filter: bricks/posts/query_vars – Bricks Academy.

No updated yet. But I have seen many requests for improving the query loop filters. I think there definitely would be update in the future.

Now I have to use the bi-directional relationship to do this post selection and use the relationship option in the query loop.

This requires php coding to get the metabox data, which is very difficult, while most of other options in the builder UI can just work with dynamic data.