arkadaslar manset altından son yazılar kısmını sadece 1 kategoride cıkarmak isrtiyorum bunu nasıl yaparım haberler kategorisi
sitem
http://www.unyefatsader.com/
index.php kodları soyle
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
get_header(); ?>
<div id="icerik">
<div id="solum">
<?php get_sidebar(); ?>
</div>
<div id="sagim">
<?php include (TEMPLATEPATH . "/manset.php"); ?>
<h2 class="has">Son Yazılar</h2>
<?php $recent = new WP_Query("cat=16&showposts=5"); if(have_posts()) :?>
<?php while (have_posts()) : the_post();
$justanimage4 = get_post_meta($post->ID, $thumb_ozel_alan_adi, true);
if (!$justanimage4) {
$justanimage4 = get_bloginfo('template_directory').'/i/r/resim.png';
}
?>
<div class="yazilar">
<div class="resimk"><a href="<?php the_permalink() ?>" title="<?php the_permalink() ?>"><img src="<?php echo $justanimage4; ?>" width="100" height="80" alt="BeÅŸiktaÅŸ: 2 – Helsinki: 0 Maç Sonucu Özet Görüntüleri İzle" /></a></div>
<div class="yazik">
<h2><a href="<?php the_permalink() ?>" title="<?php the_permalink() ?>"><?php the_title() ?></a></h2>
<p class="yazis"><p><?php content(15); ?></p></p>
</div>
</div>
<div class="mt20"></div>
<?php endwhile;
wp_reset_query();
?>
<?php endif; ?>
<h2 class="has">Videolar</h2>
<div class="anasayfa_video_listesi"><ul>
<?php
$videolar = new WP_Query('posts_per_page=4&cat='.$video_kategorisi.'');
while ($videolar->have_posts()) : $videolar->the_post();
$justanimage5 = get_post_meta($post->ID, $thumb_ozel_alan_adi, true);
if (!$justanimage5) {
$justanimage5 = get_bloginfo('template_directory').'/i/r/resim.png';
}
?>
<li>
<a href="<?php the_permalink() ?>" title="<?php the_title() ?>">
<span class="a_video_resim"><img alt="<?php the_title() ?>" src="<?php echo $justanimage5; ?>"></span>
<span class="a_video_adi"><?php the_title() ?></span> </a>
<span class="kucukyaz acikyaz"><?php if(function_exists('the_views')) { the_views(); } ?> </span>
</li>
<?php endwhile;
wp_reset_query();
?>
</ul>
</div>
</div><!-- -->
<div class="sil"></div>
<div class="mt20"></div>
<div align="center"> <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?></div>
<div class="mt20"></div>
</div>
<div id="yanmenu">
<?php include (TEMPLATEPATH ."/sagmenu.php"); ?>
</div>
<?php get_footer(); ?>wp ustalarından yardım istiyorum simdiden herkeze tesekkurler.