isyankar24 adlı üyeden alıntı: mesajı görüntüle
Sorunu anlamadım ama bir eklenti var bu eklenti sayesinde istedigin katagorilerin yazılarının anasayfada görüntülenmesini engelleye biliyorsun.
eklenti indirme adresi tıkla

hocam şimdi ana sayfa için sabit sayfa kullanıyoruz ben aşağıdaki sayfayı hazırladım bu sayfayı index2.php olarak kayıt ettim bu şablon ile tüm kategorilerin yazılarını görüntüleyeceğim bir nevi portal görünümü olacak

<?php
/*
Template Name: index2
*/
?>


<?php get_header(); ?>


<div id="content" class="narrowcolumn">


<div id="acat">

<div class="tab">
<ul>
<li id="acat1" onmouseover="setTab('acat',1,3)" class="current"><span><?php wp_list_categories('include=1&title_li=&style=none'); ?></span></li>
<li id="acat2" onmouseover="setTab('acat',2,3)"><span><?php wp_list_categories('include=2&title_li=&style=none'); ?></span></li>
<li id="acat3" onmouseover="setTab('acat',3,3)"><span><?php wp_list_categories('include=3&title_li=&style=none'); ?></span></li>
</ul>
</div>


<?php $display_categories = array(1,2,3); $i = 1; foreach ($display_categories as $category) { ?>

<div id="con_acat_<?php echo $i; ?>">
<?php query_posts("showposts=1&cat=$category")?>

<?php while (have_posts()) : the_post(); ?>

<div class="cats">

<img src="<?php get_thumb($post->ID, 'full'); ?>" width="100" height="120" alt="<?php the_title(); ?>" />
</div>
<div class="catstxt">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<?php post_limit('200'); ?>
</div> 	  

<?php endwhile; ?>

<div class="clear"></div>

<div class="catlist">
<?php query_posts("showposts=4&offset=1&cat=$category")?>
<ul>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>            
</ul>
</div>
</div> 
<?php $i++; ?>
<?php } ?>	
</div>

<div id="bcat">

<div class="tab">
<ul>
<li id="bcat1" onmouseover="setTab('bcat',1,3)" class="current"><span><?php wp_list_categories('include=4&title_li=&style=none'); ?></span></li>
<li class="" id="bcat2" onmouseover="setTab('bcat',2,3)"><span><?php wp_list_categories('include=5&title_li=&style=none'); ?></span></li>
<li class="" id="bcat3" onmouseover="setTab('bcat',3,3)"><span><?php wp_list_categories('include=6&title_li=&style=none'); ?></span></li>
</ul>
</div>


<?php $display_categories = array(4,5,6); $i = 1; foreach ($display_categories as $category) { ?>

<div id="con_bcat_<?php echo $i; ?>">
<?php query_posts("showposts=1&cat=$category")?>

<?php while (have_posts()) : the_post(); ?>
<div class="cats">
<img src="<?php get_thumb($post->ID, 'full'); ?>" width="100" height="120" alt="<?php the_title(); ?>" />
</div>
<div class="catstxt">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<?php post_limit('200'); ?>
</div> 	  

<?php endwhile; ?>
<div class="clear"></div>

<div class="catlist">
<?php query_posts("showposts=4&offset=1&cat=$category")?>
<ul>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>            
</ul>
</div>

</div> 
<?php $i++; ?>
<?php } ?>	
</div>


<div id="ccat">

<div class="tab">

<ul>

<li id="ccat1" onmouseover="setTab('ccat',1,3)" class="current"><span><?php wp_list_categories('include=7&title_li=&style=none'); ?></span></li>
<li class="" id="ccat2" onmouseover="setTab('ccat',2,3)"><span><?php wp_list_categories('include=8&title_li=&style=none'); ?></span></li>
<li class="" id="ccat3" onmouseover="setTab('ccat',3,3)"><span><?php wp_list_categories('include=9&title_li=&style=none'); ?></span></li>

</ul>
  
</div>


 <?php $display_categories = array(7,8,9); $i = 1; foreach ($display_categories as $category) { ?>
 
 <div id="con_ccat_<?php echo $i; ?>">
<?php query_posts("showposts=1&cat=$category")?>

<?php while (have_posts()) : the_post(); ?>

<div class="cats">
<img src="<?php get_thumb($post->ID, 'full'); ?>" width="100" height="120" alt="<?php the_title(); ?>" />
</div>
<div class="catstxt">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
<?php post_limit('200'); ?>
</div> 	  

<?php endwhile; ?>
<div class="clear"></div>

<div class="catlist">
<?php query_posts("showposts=4&offset=1&cat=$category")?>
<ul>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>            
</ul>
</div>
</div> 
<?php $i++; ?>
<?php } ?>	


</div>



<?php
if (function_exists('wp_pagenavi')) { wp_pagenavi(); }
else{
?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('&laquo; Eski Yazılar') ?></div>
<div class="alignright"><?php previous_posts_link('Yeni Yazılar &raquo;') ?></div>
</div>
<?php
}
?>


</div>

	
<?php get_sidebar(); ?>

<?php get_footer(); ?>

kodlarda en üste

<?php
/*
Template Name: index2
*/
?>
ekledim artık şablon hazır sonra sayfalar bölümünden bir sayfa oluşturuyorum şablon olarak "index2" yani ana sayfa için hazırladığım şablonu seçiyorum


sonra Ayarlar / Okuma Ayarları / Ön sayfa görünümleri / bölümünden ""Sabit sayfa (aşağıda seçin) "" işaretleyip "index2" şablonunu kullanarak oluşturduğum sayfayı seçiyorum

artık ana sayfada hazırladığım şablon kullanılıyor fakat bu şablon ile navigasyon sayfa 2, 3, ,4 .... olayı iptal oluyor




----------------------------------------------------------





ezoryak adlı üyeden alıntı: mesajı görüntüle
loop bitip sayfalama başlamadan hemen önce sadece
<?php wp_reset_query(); ?>
ekleyip deneyin.

hocam teşekkürler kodu denedim sayfalama kodlarının öncesinde kullandığımda sayfalama (pagenavi) görünmüyor iptal oluyor sonrasında kullandığım zamanda etkisi olmuyor