ACF Gallery Condition

I am using a set of images in and ACF Gallery to fill a slider in a CPT. I want to hide the section that the gallery is in if there aren’t any images in the ACF Gallery field. I tried to use my {{dc:acf:post_field field=“after_images”}} for the string and then various permutations for the rules, but none seem to work as expected.

Is there a better way to try and hide the gallery section of there are no images uploaded to the CPT?

Hello @dabigcheeze,

Thanks for writing to us.

To help you with your concerns, we need to check your settings, I would request you please share the admin login details meanwhile I would suggest you troubleshoot a few of the common issues before we investigate your settings. Please share your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin-level username and password
  • Exact URL

You can find the Secure Note button at the bottom of your posts

Thanks

Hello @dabigcheeze,

You will have to use the “Provider Output IS EMPTY” condition where you have added the Looper Provider. If I were to do this, my Looper Provider with be the Section.
Screenshot 2025-05-15 071919

My condition:

Hope this makes sense.