How to add conditional (if/then) clause to events template?
-
I have custom attributes which I only want displayed if their values are non-empty. I have
<p>
tags and<br>
tags which need to be displayed if and only if certain custom attributes have a value, otherwise I need them to not appear. How can I do this? Is it possible to add simple conditional if/then statements (maybe inject some PHP somehow?) so that I have more control over the formatting and layout based on whether or not specific parameters are met?Please let me know your thoughts at your convenience. Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to add conditional (if/then) clause to events template?’ is closed to new replies.