So I’m working on a layout for project pages, which includes a couple of sections for Awards and Testimonials, fed by ACF Repeater fields on each project. I’d like to be able to hide those when their respective loopers return nothing, but that so far hasn’t been working for some reason.
Awards Setup
Div (Looper provider: {{dc:acf:post_field field=“awards”}} )
Text (“Awards” heading)
Text (Looper consumer - Award details)
The “Award details” text element naturally does not display when the looper is empty, however I can’t get the “Awards” heading to also be hidden in that scenario.
Testimonials Setup
Row (Looper provider: {{dc:acf:post_field field=“testimonials”}} )
Column > Slider > Container, etc.
Slide (Looper consumer)
With both of these, I’ve tried the conditions Provider is not empty and {{dc:looper:count}} > 0 on the provider element, and on those non-consumer elements also tried simply {{dc:acf:post_field field="[name]"}} is not [blank] —no luck. Will you please advise as to how I can hide those elements entirely when those repeaters are empty?
Credentials and page links provided in a secure note—thanks!