Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1467360

    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

    #1467422

    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

    #1467481

    Thanks Ismael,

    I will look for a freelancer.

    Lucy

    #1467501

    Hi,

    Thank you for your understanding. Please let us know if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Custom Templates, ACF and IF statements’ is closed to new replies.