Hi,
Please see my previous thread as to where I am coming from:
I am wondering is it possible to put out like an IF statement in custom templates with ACF.
For example, I have ten ACF fields, but most entries I only have data for five of those fields.
It would look much better if I don’t have data for an ACF field, then that ACF field did not show.
E.g. If my ACF field is URL I want it to show like this is there is a URL:
Link: http://www.websitey.com
But I don’t want it to show like this if there is not a URL:
Link:
Thanks for any advice that can be offered.
Lucy
Hey lucybb2,
Thank you for the inquiry.
I am wondering is it possible to put out like an IF statement in custom templates with ACF.
There is no built-in option for this, and implementing it would require significant modifications to the theme, which are not covered by our support. If this functionality is crucial for you, you can hire a freelancer to help with the customization. Visit our customization page to find freelancers who specialize in theme modifications.
If you have any other questions or require further assistance, please feel free to let us know.
Best regards,
Ismael
Thanks Ismael,
I will look for a freelancer.
Lucy