Aleš Sýkora wrote

Solve “No ACF gallery field data found” when the gallery field is empty with Oxygen conditionals

11. 3. 2021 in ,

If you want to hide the gallery field, when your ACF gallery is empty, use this tutorial! 🙂

  1. Wrap Gallery with DIV and add class .gallery-wrapper (set the width of div to 100%)
  2. Open conditionals on the
  3. Create conditional: Dynamic Data > Advance Custom Field > Your Gallery Field Name
  4. Output type – leave empty
  5. Set conditional rule to “is_not_blank

Done 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More from category
Aleš Sýkora wrote
Speeding up WordPress & Toolset
7. 11. 2019 in
Tips for speeding up WP + Toolset.
Read More
Aleš Sýkora wrote
Automatic Post to Facebook From WordPress with Custom Fields
7. 3. 2019 in
If you want to post on your facebook page automatically when you publish the post & you want to use custom post types and custom fields made in Toolset Types - follow this post and see how easy it is.
Read More
Aleš Sýkora wrote
Tracking Toolset Forms in Google Analytics with Google Tag Manager
7. 8. 2018 in
What if you want to track your Toolset Forms submissions with Google Analytics Events? See how to do this with Google Tag Manager quickly.
Read More
magnifiercross linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram