This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Allow recursive [if] and [else] statements #5470
Labels
Type: Enhancement
Enhancements to features that already exist, but are not major additions
Milestone
Uh oh!
There was an error while loading. Please reload this page.
As the title says. Currently Pods only supports
if
shortcodes for a direct field of a pod like so:[if field]content[/if]
Our support gets a lot of people using the
if
shortcode the same as magic tags, which support recursive relationship fields like so:{@rel_field.field_name}
If would be nice if Pods templates support this for
if
shortcodes as well like so:[if rel_field.field_name]content[/if]
EDIT:
In order not to confuse our users
[each]
statements should also feature this enhancement.The text was updated successfully, but these errors were encountered: