Yazı içindeki sadece resimleri gösterecek değil mi yanlış anlamadım ?
<?php get_header(); ?>
<?php get_sidebar(); ?>
</div>
<?php include(TEMPLATEPATH."/reklam728.php");?>
<?php include(TEMPLATEPATH."/reklam160x600.php");?>
<div id="content" class="narrowcolumn" role="main">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post box" id="post-<?php the_ID(); ?>">
<h2><?php the_title(); ?></h2>
<div class="box-t">
<div class="box-b">
<small class="date2">
</small>
<?php include(TEMPLATEPATH."/reklam336x280.php");?>
<br />
<div class="entry">
<?php
$icerik = get_the_content();
$resimAra = '/<img.+src=[\'"]([^\'"]+)[\'"].*>/i';
preg_match($resimAra, $icerik, $sadeceResimler);
echo $sadeceResimler[0];
?>
<?php include(TEMPLATEPATH."/reklam468x15.php");?>
<br />
<?php wp_link_pages(array('before' => '<p><strong>Sayfalar:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<small class="date2">
<br />
<?php the_tags('Etiketler: ', ', ', ''); ?><br />
</small> </p>
</div>
</div>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<?php endif; ?>
</div>
<?php get_footer(); ?>
</div>