Nested [if] in templates editor
-
Hi, I have this code and works great:
[if activities] <div class="activities-slider-container"> <h3>Activities</h3> [each activities] <div class="single-activity"> <div class="grid-columns-2"> <div> [if activities.fotos_actividad] {@activities.fotos_actividad.guid} [/if] </div> <div> {@activities.post_title} {@activities.post_content} [if activities.horario_actividad] <h4>Horario</h4 {@activities.horario_actividad} [/if] </div> </div> </div> [/each] </div> [/if]
on the front page all fields are displayed except those inside a nested [if].
?Pods template editor does not support nested if?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Nested [if] in templates editor’ is closed to new replies.