/ Published in: PHP
Check to see if there is data in a custom field
Expand |
Embed | Plain Text
<?php $key = 'video-embed'; $themeta = get_post_meta ($post->ID, $key, TRUE); if($themeta != '') { meta('video-embed'); } else { echo 'none found'; } ?>
You need to login to post a comment.
