Is it possible to hide an element, in this case a button, if the related ACF field is left blank? We are dynamically puling in the URL content from the ACF field and would like the button to not be visible at all when the ACF field is left blank.
Hello @coloradodesigngroup,
Thanks for writing to us.
To hide the element you need to go to the Element —>Customize ---->Condition ---->Select String from the select box---->Now add the dynamic content code and set the condition.
{{dc:acf:post_field field="your_field_name"}}
In case you have not seen our doc to pull the ACF data and condition.
Hope it helps
Thanks
1 Like
That is amazing, Conditions just opened up a whole new world for me.
Hey Andrew,
We’re glad that you like the condition feature! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.
Thank you.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.