Hej there,
I am trying following:
I am using a CPT with ACF Pro and an image gallery.
Now I want to add videos to the gallery, and it is working.
With loopers, I add the Images to a slider.
With conditions, I want to display either the image element or the video element.
But the conditions are not working as expected – I don’t understand why.
Thanks to {{dc:looper:debug_consumer}} I found the following key:
{{dc:looper:field key=“type”}}
It’s working in text elements and displays either “image” or “video”.
In conditions, I tried:
{{dc:looper:field key=“type”}} is video
and
{{dc:looper:field key=“type”}} is not video
But it’s not working. Am I missing something important?
Looking forward to hearing from you.
Best wishes
Carlo