Merhaba Arkadaşlar Wp Kurulu Sistemde Thumnail Sorunu Var Yardımcı olurmusunuz
index.php verdim arkadaşlar
<?php get_header(); ?>
<!-- BEGIN content -->
<div id="content">
<?php include('featured.php'); ?>
<?php
$wp_query = $tmp_query;
if (have_posts()) :
$switch = 'even';
while (have_posts()) : the_post();
$arc_year = get_the_time('Y');
$arc_month = get_the_time('m');
$arc_day = get_the_time('d');
$switch = ($switch=='even') ? 'odd' : 'even';
?>
<!-- begin post -->
<div class="<?php if ($switch=='odd') echo 'odd '; ?>post">
<p class="category"><?php the_category(', ') ?></p>
<div class="content">
<div class="thumb"><a href="<?php the_permalink(); ?>"><?php dp_attachment_image($post->ID, 'medium', 'alt="' . $post->post_title . '"'); ?></a></div>
<?php if ( get_post_meta($post->ID, 'resim', true) ) { ?> <!-- DISPLAYS THE IMAGE URL SPECIFIED IN THE CUSTOM FIELD -->
<div class="resim"><img src="<?php echo get_post_meta($post->ID, "resim", $single = true); ?>" width="67" height="67" alt="<?php the_title(); ?>" class="th" /> </div>
<?php } else { ?> <!-- DISPLAY THE DEFAULT IMAGE, IF CUSTOM FIELD HAS NOT BEEN COMPLETED -->
<div class="resim"><img src="<?php bloginfo('template_directory'); ?>/images/no-img-thumb.jpg" width="67" height="67" alt="<?php the_title(); ?>" class="th" /> </div>
<?php the_excerpt(); ?>
<a class="continue" href="<?php the_permalink(); ?>">Continue Reading</a>
<p class="comments"><?php comments_popup_link('0', '1', '%'); ?></p>
<?php the_tags('<p class="tags">Tags: ', ', ', '</p>'); ?>
</div>
</div>
<!-- end post -->
<?php endwhile; ?>
<p class="postnav">
<?php next_posts_link('« Older Entries'); ?>
<?php previous_posts_link('Newer Entries »'); ?>
</p>
<?php else : ?>
<div class="notfound">
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that is not here.</p>
</div>
<?php endif; ?>
<?php include('links.php'); ?>
</div>
<!-- END content -->
<?php get_sidebar(); get_footer(); ?>