I never really learned PHP, but I want achieve following:
I have several values, let's call them value1, value2, value3 etc. and I want to show them on a html page next to each other, but only if they have value. Like this:
value1 | value2 | value3
I call them in Wordpress via custom fields (if the field is empty, the value should not be shown), but I don't understand how to set up them up next to each other with PHP if syntax. I managed to do it below it each other, but I'm stuck at next to each other.
Aucun commentaire:
Enregistrer un commentaire