• 23-04-2009, 19:17:36
    #1
    MaD
    Eposta Aktivasyonu Gerekmekte
    anlamadıgm bi sebebpten dolayı ana sayfamda sayfalama calısmıyor sayfa atlıyor ama hep ana sayfadaki yazılar gösteriliyor sitem

    yardım edebilirseniz sevinirim
  • 26-04-2009, 02:17:03
    #2
    MaD
    Eposta Aktivasyonu Gerekmekte
    galiba tam soruyu yoneltemedim asagıdaki sitemin index.php si burda eski yazılar ve yeni yazılar kısmında sitede tıkladıgım zaman sayfa page2/page/page4 oluyor ama yazılar hep aynı yani ana sayfadaki gösterimde hep

    <?php get_header(); ?>
    
    <div class="f-wrapper">
    
     <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
    
    </div>
    
     <?php query_posts('showposts=2'); while (have_posts()) : the_post(); ?>
    
     <div class="f-post">
    
      <?php if( get_post_meta($post->ID, "featured_thumb", true) ): ?><div class="featured_thumb"><a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, "featured_thumb", true); ?>" width="230" height="170" alt="<?php the_title(); ?>" /></a></div><?php endif; ?>
    
      <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    
      <div class="entry"><?php the_content(''); ?></div><a class="read-more" href="<?php the_permalink(); ?>">Devam</a>
    
      <div class="posted">
    
       Gönderim: <span class="date"><?php the_time('d F, Y'); ?></span><br />
    
       Katagorisi: <?php the_category(', '); ?><br />
    
       </div><div class="clear"></div>
    
     </div>
    
     <?php endwhile; ?>
    
     <div class="posts">
    
      <div class="posts-outer">
    
       <div class="posts-inner_bg">
    
        <?php if (have_posts()) : while (have_posts()) : the_post(); if($post->ID == $do_not_duplicate[0] || $post->ID == $do_not_duplicate[1] || $post->ID == $do_not_duplicate[2]) continue; update_post_caches($posts); ?>
    
        <div class="post" id="post-<?php the_ID(); ?>">
    
         <?php if( get_post_meta($post->ID, "post_thumb", true) ): ?><div class="post_thumb"><a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, "post_thumb", true); ?>" width="121" height="122" alt="<?php the_title(); ?>" /></a></div><?php endif; ?>
    
         <div class="comments"><?php comments_popup_link('0', '1', '%'); ?></div>
    
         <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    
         <div class="entry"><?php the_excerpt('Read the rest of this entry &raquo;'); ?></div>
    
         <div class="posted">Gönderen <?php the_author() ?> - <?php the_time('d F, Y') ?></div>
    
        </div>
    
        <?php endwhile; ?>
    
        <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>
    
       </div>
    
      </div>
    
     </div>
    
      <?php else: ?>
    
       <h2 class="center">Not Found</h2>
    
       <p class="center">Sorry, but you are looking for something that isn't here.</p>
    
      <?php endif; ?>
    
    
    
    <?php get_footer(); ?>
  • 26-04-2009, 02:20:00
    #3
    pagenavi eklentisi ile numaralandırma yapmayı dene. Sonuç olumlu olmayabilir ama. Dene.
  • 26-04-2009, 02:58:28
    #4
    MaD
    Eposta Aktivasyonu Gerekmekte
    amacdizayn adlı üyeden alıntı: mesajı görüntüle
    pagenavi eklentisi ile numaralandırma yapmayı dene. Sonuç olumlu olmayabilir ama. Dene.

    buda olmadı az once onuda denedim hatta suan kaldırmadım yazıyı nerden cektigini anlamadım gitti
  • 26-04-2009, 10:31:38
    #5
    <?php query_posts('showposts=2'); while (have_posts()) : the_post(); ?>

    kodu

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

    bunla değiştir bi olabilir..
  • 26-04-2009, 12:18:18
    #6
    MaD
    Eposta Aktivasyonu Gerekmekte
    harew1 adlı üyeden alıntı: mesajı görüntüle
    <?php query_posts('showposts=2'); while (have_posts()) : the_post(); ?>

    kodu

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

    bunla değiştir bi olabilir..

    teşşekür ederim bu oldu