Custom Query Loop

Custom Query Loop

Hi guys! it’s me again 🥹

I’m moving a website from elementor, learndash, and jet engine to, Bricks Builder and Learndash only.

I have product Bundles (that include multiple learndash courses)

On the product page I’m trying to create a loop that shows the Courses that are included. The courses Id is stored in 2 different ways (Img 1) The first one the default learndash courses, and the second one a meta field where I manually add the courses ID to show them with the jet engine listing grid.

Is there a way to query only this posts to show in the Product page with the Query Loop?

I’v tried query_vars and everything that I was able to find and nothing seem to work.

I dont know if I’m doing something wrong on the Meta Query, but that doesnt work, not even if I only add the Course Post ID manually.

It would be super usefull if the query loop “Include Posts By ID” had a Dynamic field so you can just add the Meta field that contains them.

Thanks you so much in advance!