NewMaster adlı üyeden alıntı: mesajı görüntüle
Ö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>
.....
Hata günlüklerini incelediniz mi? Nerede hata verdiğini bilirsek ona göre yorumlama yapması daha kolay ve hızlı olur.

Aşağıdaki kod satırını şuan aktif olarak sıkıntısız kullanmaktayım.

<?php
	$args = array('numberposts'=>5, 'category'=>get_cat_id(fs_get_option('oyun')));
		$oyunlar = get_posts( $args ); $i=0;
	foreach( $oyunlar as $post ) : $i++;	setup_postdata($post);
		echo '		<li><a href="'.get_permalink().'"><span class="imgalan"><cite class="nokta"><span class="farkliSayfa links"></span></cite>'; 
		
			if ( has_post_thumbnail()) : 
		the_post_thumbnail( 'post2', array('class' => '', 'alt' => ''.get_the_title().'', 'title' => ''.get_the_title().'' )); 
	elseif (get_post_meta($post->ID, 'resim', true) != '') : 
		echo '<img src="'.get_post_meta($post->ID, 'resim', true).'" alt="'.get_the_title().'" width="70" height="125" />'; else : echo '<img src="'.get_bloginfo('template_url').'/images/nothumb.jpg" width="70" height="125" alt="'.get_the_title().'" />';
	endif; 
	
	echo '</span><span class="yazialan">'; if (strlen($post->post_title) > 40) { echo mb_substr(the_title($before = '', $after = '', FALSE), 0, 40) . '...'; } else {the_title(); } echo '</span></a></li>
		';
	endforeach;
?>