Custom Fields
-
How do I use custom fields currectly?
I’m using this now:
<?php $flickr = get_post_meta($post->ID, 'flickr', true); ?> <?php $exif = get_post_meta($post->ID, 'exif', true); ?> <a href="<?php echo $flickr; ?>">View Flickr Page</a> | <a href="<?php echo $exif; ?>">View EXIF Data</a><br />
How can I get the two links to only show if the custom field is filled in?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Fields’ is closed to new replies.