XF 2.2 Help with a conditional statement

PASS

Well-known member
Hope someone can help me out. I created two custom thread fields. Their IDs are "apple" and "peach". (example names)

How can I combine them into one conditional statement?

This statement is working fine for just the one, but I would like to hide the chosen display location for the apple and peach fields.

<xf:if is="!$thread.custom_fields.apple">
hides info
</xf:if>
 
Top Bottom