Conditional logic with ACF fields
-
I have 4 ACF fields: contact1_first_name, contact1_last_name, contact1_title, contact1_email.
I am able to display these using the following:
[field key=contact1_first_name] [field key=contact1_last_name], [field key=contact1_title], [field key=contact1_email]I would like to take the next step and conditionally display title and email (with associated comma) only if I have this data. How can I do this?
Thanks very much.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Conditional logic with ACF fields’ is closed to new replies.