Output image if checkbox is checked example
gistfile1.phtml
<?php
$huntfish_license = get_custom_field('huntfish_license');
if( (int) $huntfish_license === 1 ):
?>
<a href="" target="_blank"><img src="huntfish_license.png" /></a>
<?php
endif;
?>
No comments yet.