How can I show <li> only if custom field has content
I have the following code:
font size="2"Pistas:/font/p
ul
li
?php
echo types_render_field("pista-1a", array("argument1"="value1","argument2"="value2","argument2"="value2"));
?li
?php
echo types_render_field("pista-1b", array("argument1"="value1","argument2"="value2","argument2"="value2"));
? /li/ul '
As you can see... I manually inserted
Sorry for my basic coding, I'm not a programmer and I'm learning a little as I try to adapt my theme to my needs
Thanks a lot folks!
Topic plugin-types php customization Wordpress
Category Web