PaintYazilim adlı üyeden alıntı: mesajı görüntüle
        <ul>
		<?php 
		$KategoriID	="2";
	$args = array('numberposts'=>5, 'category'=>get_cat_id($KategoriID);
		$say = get_posts( $args ); $i=0;
	foreach( $say as $post ) : $i++;	setup_postdata($post);
		echo '		<li><div class="filmresimi"><a href="'.the_permalink().'" title="'.the_title().'" class="hovertype">' ; 
		if(function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(225,295)); }
		echo "</a>
		<div class=\"sergilemedil\">".get_the_term_list($post->ID, 'dil')."</div> 
		<div class=\"sergilemeimdb\">İMDB:".get_the_term_list($post->ID, 'imdb')."</div> 
		</div>
		<div class=\"filmadi\"><a href=\"".the_permalink()."\" alt=\"".the_title()."\" title=\"".the_title()."\">".kisa_baslik(22)."...</a></div> 
		</li> ";
	endforeach;
	?>
      </ul>
Öncelikle teşekkür ederim.
Bu işlemi yaptıgımda sayfa görüntülenemedi hatası alıyorum
Benim denemelerimdede bu hatayı almıştım
Kategorilerin listelenme kodlarınıda paylaşayım belki yardımcı olur

<?php get_header(); ?>
<div class="beyazsayfa">
<div class="clear"></div>
<div class="solkisim">
<div class="baslik"><?php single_cat_title(); ?> Filmleri İzle</div>
<ul>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<li> 
<div class="filmresimi">
<a href="<?=the_permalink()?>" title="<?=the_title();?>" class="hovertype">
<?php if(function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(225,295)); } ?>
</a>
<div class="sergilemedil"><?=get_the_term_list($post->ID, 'dil')?></div>
<div class="sergilemeimdb">İMDB:<?=get_the_term_list($post->ID, 'imdb')?></div>
</div>
<div class="filmadi"><a href="<?=the_permalink()?>" alt="<?=the_title();?>" title="<?=the_title();?>"><?php kisa_baslik(22); ?>...</a></div>
</li>
</ul>
<?php endwhile; ?>		
<?php else: ?>
<div class="clear"></div>
Sayfa Bulunamadı !
<?php endif; ?> 
<?php sayfalama(); ?>
</div>
<div class="sagkisim">
<?php get_sidebar(); ?>
</div>
<div class="clear"></div>
<div class="clear15"></div>
</div> 
<?php get_footer(); ?>