Created
March 14, 2015 20:25
-
-
Save tripflex/fe673a7dbf26bf5168b0 to your computer and use it in GitHub Desktop.
Output image if checkbox is checked example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment