evet arkadaşlar herşeyi ayarladım örnek site
www.kilimlihaber.com ama sorun sağ tarafta kategorideki 1 haber geliyor son 5 haber başlığı yapmak istiyorum kodu veriyorum şuanki ..
<?php
/*
Template Name: Wordpress loop
*/
$count++;
?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="post-entry">
<div class="entry">
<?php
$display_categories = array(1,9,8,3,4,5,7,13);
foreach ($display_categories as $category) { ?>
<?php query_posts("showposts=1&cat=$category");
$wp_query->is_category = false;
$wp_query->is_archive = false;
$wp_query->is_home = true;
?>
<?php while (have_posts()) : the_post(); ?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title=" <?php the_title(); ?> için Kalıcı Bağlantı"></a><a href="<?php the_permalink() ?>" rel="bookmark" title=" <?php the_title(); ?> için Kalıcı Bağlantı">
</a> <?php the_category(); ?></h2>
<div class="entrys">
<table width="100%" height="142" cellpadding="0" cellspacing="0">
<tr>
<td width="51%" height="22" valign="top"><a href="<?php the_permalink() ?>" rel="bookmark" title=" <?php the_title(); ?> için Kalıcı Bağlantı"><?php the_title(); ?></a> </td>
<td width="49%" rowspan="2" valign="top">
<li><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" class="style1"> <?php the_title(); ?></a> <br>
</td>
</tr>
<tr>
<td valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="29%"><?php
$values = get_post_custom_values("Image");
if (isset($values[0])) {
?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><img src="<?php $values = get_post_custom_values("Image"); echo $values[0]; ?>" alt="" width="100" height="76" border="1" /></a>
<?php } ?> </td>
<td width="71%"><div class="content-write">
<div align="left">
<?php the_content_rss('', TRUE, '', 15); ?></div>
</div></td>
</tr>
</table>
</td>
</tr>
</table> <br>
</div>
<br>
<?php endwhile; ?>
<?php } ?>
<?php link_pages('<div class="page-link">sayfalar: ', '</div>', 'number'); ?>
</div>
</div> <br>
</div>
<br>tek haber yerine 5 haber istiyorum yardımlarınızı bekliyorum 1 haftadır uğraşıyorum..