Nested [if] in templates editor

[ad_1]

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?

  • This topic was modified 22 minutes ago by ominem.
  • This topic was modified 21 minutes ago by ominem.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer