How to display a custom field in a template based on its value? #634
lintonhale
started this conversation in
General
Replies: 1 comment
-
If 'cost' is your customfield, then:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Franky,
On this page
https://learnsonomacounty.com/all-classes/
we'd like where it says "$0" to say "Free!" instead.
[eme_if tag='#ESC_CUSTOMFIELD{cost}' = '0']
Free!
[/eme_if]
[eme_if tag='#ESC_CUSTOMFIELD{cost}' <> '0']
$#_FIELD{cost}
[/eme_if]
Is there a way to display a field based on the value of its content?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions