-
Anonymous
I have a post that has an ACF relationship field with related work (CPT) in it.
And work posts have an ACF relationship field with related services (CTP) in it.
So I’m trying to loop through those work CTPs and display services that are related to them.First loop (working) looks like this:

The second loop (not working) – like this:

The second (inner) loop won’t display any services. Am I doing something wrong?
-
Hi there,
The nested query block does NOT support a relationship field, unfortunately.
It is a known issue; we haven’t found a way to make it work yet.
-
Anonymous
I see… Is there any way to get around this?
-
You will need to use ACF’s shortcode or PHP function to generate the output.
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.