The current (working) PHP code is the following...
Code: Select all
<?php if(get_post_meta($post->ID, 'audio', true)): ?><img src="http://www.website.com/images/home/icon.gif" alt="" border="0"><?php endif; ?>Code: Select all
<?php if(get_post_meta($post->ID, 'audio', true) || ($post->ID, 'video_embed', true)): ?><img src="http://www.website.com/images/home/icon.gif" alt="" border="0"><?php endif; ?>
Or is there a better way to write this?
Thanks so much