I wrote below PHP for the query editor. The query works fine if I replace the 2 instances of get_field with static values. The ACF fields should be valid, and I no error notifications. It just won’t produce anything.
is it just an in-builder issue? Or is it also not working on the frontend? Can you try to use {post_id} as the second argument to the get_field function?
The front end shows nothing (except for a starting ‘hero’ block.) above the point where this query is running.
I tried to insert a valid post_id, but still nothing.
Like I said, using straight values works fine. Also using the Query Panel from the builder works well, except for on thing: the offset can not me dynamic. Since I have this in a template that will be used on many pages and multiple times per page, it makes me manually change the offset, for about 150 instances