<?php $image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full'); if ( has_post_thumbnail() ) { ?>
<img src="<?php bloginfo('template_url'); ?>/timthumb.php?src=<?php echo $image_url[0]; ?>&w=50&h=50&zc=1" alt="<?php the_title(); ?>" width="50" height="50" />
<?php } else { ?>
<img src="<?php echo get_post_meta($post->ID, 'resim',true) ?>" alt="<?php the_title(); ?>" width="50" height="50" />
<?php } ?>bu kodları aşağıda verdiğim şekilde değiştirirseniz, önce öne çıkarılmış görseli kontrol eder, o yoksa resim meta keyini kontrol eder, o da yoksa default resim adresini girerek onun gösterilmesini sağlarsınız..
<?php if ( has_post_thumbnail() ) {
$resim_link = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full'); }
elseif (get_post_meta($post->ID, 'resim',true)) { $resim_link = get_post_meta($post->ID, 'resim',true);}
else { $resim_link = bloginfo('template_url').'/def-thumb.jpg'; } ?> // buraya default bir resim
<img src="<?php bloginfo('template_url'); ?>/timthumb.php?src=<?php echo $resim_link; ?>&w=50&h=50&zc=1" alt="<?php the_title(); ?>" width="50" height="50" />