bende böyle bir kod var resim özel alanını kullanır style dosyasınıveremiyorum kendi style nizi oulşturunz.
<h2>Son Yazılar</h2> <ul><li> <?php
global $post;
$myposts = get_posts('numberposts=10');
foreach($myposts as $post) :
?>
<div align="left"><img src="<?php echo get_post_meta($post->ID, "resim", $single = true); ?>"/></div>
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><span class="datenav"><?php the_date(); ?><span class="datenav"> ~ <a href="<?php comments_link(); ?>"><span class="datenav"><?php comments_number('Yorum yok', '1 yorum', '% yorum'); ?></span><br><?php the_title(); ?></br></a>
<?php endforeach; ?>