/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $FIELDNAME = get_post_meta($post->ID, 'FIELDNAME', true); if($FIELDNAME) : ?> <a title="Click Here To Purchase Tickets" href="<?php get_custom_field_value('FIELDNAME', true) ?>" rel="bookmark">PURCHASE TIX</a> <?php endif; ?>