I read the document on conditional global variables which is great. But I’d like to do the same with a custom field.
Would this be the proper format?
{if {link_rel} != ""}rel="{link_rel}"{/if}In which I’m saying if the custom field “link_rel” contains no value, do not show anything between that if statement, but if “link_rel” does have a value, show the contents between the if tags. Or is their a different more efficiently way of doing this in EE2. Thanks!