Conditional Tag: Multiple Conditions
-
Hi there, absolutely love the Pods plugin and it took a lot of work from my table. Thanks for that!
At the moment I am stuck with finding if and how I could use multiple conditions in a conditional tag in a Pods template.
Basically I want to show a div only if at least one of several custom fields has a value. Something like:
[if custom_field_1 OR custom_field_2] <div> <h1>Block Headline</h1> {@custom_field_1} {@custom_field_2} </div> [/if]
Is there a way to achieve this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Conditional Tag: Multiple Conditions’ is closed to new replies.