Get current Post Id and use it in Meta Query Builder
-
Hi,
Sorry I need help again with the Meta Query Builder
I link each Post event (1 Post = 1 Event) to a CPT named Place, with an ACF field type Post object named place_id from where I can get the Place CPT id
Now on each Place CPT single, I would like to query all the events that will happen in this place.
Using the Extended Filters & Sorting > Filter By Meta Queries with the Carousel query loop :
I use Data type Defaut + Compare operation equal + Field key place_id + …? Here in the field value I would like to get the current CPT id.I don’t find the way to do it…
Thank you for help
- The topic ‘Get current Post Id and use it in Meta Query Builder’ is closed to new replies.