/ Published in: PHP
This is to check if a custom option exist from the admin panel.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php if (get_option('custom-option')) { ?> Yep <?php } else { ?> Nope <?php } ?>