<?php
$thumb = get_post_meta($post->ID,'Thumbnail', true);
$thumb = ( !empty( $thumb ) ) ? $thumb : '/images/whitebg.jpg';
print '<img src="' . $thumb . '" width="80" height="80" alt="" />';
?>
I'm doing a Theme, but I can't link to the image theme folder like this: <?php bloginfo('template_directory'); ?>/images/whitebg.jpg
is there any other way to do that?
Thanks