Sauter la navigation

[Résolu] show an image only if a field exists

This support ticket is created Il y a 4 années et 5 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Marqué : 

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par malagaS Il y a 4 années et 5 mois.

Assisté par: Shane.

Auteur
Publications
#1779919

Tell us what you are trying to do? show an image with a link only if the link url field exists

Is there any documentation that you are following? no

Is there a similar example that we can see? n/a

What is the link to your site? lien caché

#1780123

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Malaga,

Thank you for getting in touch.

You are actually able to do this with our Conditional Block, you can check if the custom field is empty or not empty and display the block accordingly.
https://toolset.com/course-lesson/using-toolset-conditional-block/

Please let me know if this helps.
Thanks,
Shane

#1780807

doh - I knew that! I'm still not used to blocks and it didn't click in with me where to look. Thank you!!