Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

kieranreeves on "wordpress get_field IF statement"

$
0
0

<li><span class="icons orange fa fa-check"></span><?php echo get_field("reason_6"); ?></li>

How can i get the above line into an if statement where if the field is empty it doesn't display but if there is something in there then it displays on the page. Im new to PHP so would like to know.


Viewing all articles
Browse latest Browse all 8245

Trending Articles