• I am using the following code. technically the part {@_img.caption,,<p>,</p>} should work like, if the caption is not empty, you need to display or you should not display. But I see that the empty tags of P is always displaying. Am I missing anything?

    [if download_links_2]
    <ul class="download_links">
    [each download_links_2]
    <li>{@_img.caption,,<p>,</p>}<a href="{@_src,esc_url}">{@_img.title}</a></li>
    [/each]
    </ul>
    [/if]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.