Support » Plugin: Pods - Custom Content Types and Fields » Template: Hide content when there is no value

  • Resolved Cris

    (@crispaor)


    Hello,

    I’m using the following shortcode within the template:

    [pods name=”dormitorio” limit=”1″]<span class=”barra”> | </span>Dormitorio/s: {@dormitorio}[/pods]

    I want to obtain that, if there is no value within the taxonomy, it does not show any of the content inside the [pods]… [/ pods] tag. As I did, the only thing it doesn’t show is {@dormitorio}. The rest shows everything ” | Dormitorio/s: “.
    Can be done?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Template: Hide content when there is no value’ is closed to new replies.