I can′t close shortcode [if]
-
I need make a conditional loop to show in the home of a web only the content I marked with a true/fase field.
With tis code:
<h5><span class="h-fina">EN</span> PORTADA</h5> [loop type=reportaje] [if field=sale_a_portada value=checked] <h1>[link][field titulo_de_portada][/link]</h1> [/loop][/if]
it is oK, but the web shows the shortcode [/if], and if I delete the shortcode [/if], all is OK, woks fine,
What am I doing bad?
https://www.ads-software.com/plugins/custom-content-shortcode/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘I can′t close shortcode [if]’ is closed to new replies.