• 20-05-2010, 15:16:06
    #1
    merhaba arkadaşlar..wp kurdum siteme.
    pagenaviyi ekledim.ama 1 2 3 4.. diye devam ediyor ama tıklayınca sayfa değişmiyor.yani 1 sayfada kalıyor.nasıl düzeltebilirim.lütfen yardımcı olun.şimdiden teşekkürler..
  • 20-05-2010, 16:16:38
    #2
    aynı sorun bendede var aga ...
  • 20-05-2010, 16:32:17
    #3
    MaLcoLm_x adlı üyeden alıntı: mesajı görüntüle
    aynı sorun bendede var aga ...
    inanamazsın kaç gündün bakıyom kimse yardım etmiyor.inşallah biri bizi görür
  • 20-05-2010, 16:35:20
    #4
    benım kı kategorı ıcerıgınde sıralamada sorun yok ama ana sayfada sorun var bır turlu değişmiyo sayfa aynı kalıyo ...
  • 20-05-2010, 16:40:04
    #5
    Kimlik doğrulama veya yönetimden onay bekliyor.
    reset_query kullan sanırım olur.
  • 20-05-2010, 17:48:37
    #6
    Gangstamonu adlı üyeden alıntı: mesajı görüntüle
    reset_query kullan sanırım olur.


    hocam biraz daha acık bılgı verırmısınız?..
  • 20-05-2010, 18:11:15
    #7
    <?php wp_reset_query(); ?>
    Sayfalama için ne kullanıyorsunuz bilmiyorum ama sayfalama kodundan önce yukardaki kodu yazın. Başıma gelmişti ve çözmüştüm.
  • 20-05-2010, 18:13:51
    #8
    Üyeliği durduruldu
    Gangstamonu'nun verdiği kodun çözmesi gerek, çözmesse query_posts() fonksiyonu kullanılmış sanırım temanda index.php de olabilir büyük ihtimal o fonksiyonda ne yazdığını tam olarak yazarsan çözümüyle birlikte yazayım tekrar.
  • 21-05-2010, 16:35:34
    #9
    <?php get_header(); ?>
    		<?php $my_query = new WP_Query('showposts=1'); ?>
    		<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
    		<div class="top_post" id="post-<?php the_ID(); ?>">
    			<div class="post_title">
    				<h2>
    				<div class="headline">
    				Örgüevim ^^
    				</div>
    				
    					<div class="headline_date">
    						<?php the_time('F jS, Y') ?>
    					</div>
    					
    				
    				</h2>
    				
    			</div>
    			<div class="top_entry">
    			<div class="top_titles">
    			<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
    			</div>
    				<?php the_content('Read the rest of this entry &raquo;'); ?>
    			</div>
    			<div class="post_bottom">
    			<div class="post_cat">
    				Filled Under: <?php the_category(', ') ?>
    			</div>
    			</div>
    		</div>
    		
    		<?php endwhile; ?>
    		<?php rewind_posts(); ?>
    		<div id="">
    		
    		<center><script type="text/javascript"><!--
    google_ad_client = "pub-9018702257962108";
    /* 336x280, oluşturulma 12.05.2010 */
    google_ad_slot = "9840507158";
    google_ad_width = 336;
    google_ad_height = 280;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    		
    		<h3>
    		
    		</h3>
    		</div>
    		<div id="content">
    			<?php query_posts('showposts=10&offset=1'); ?>
    			<?php if (have_posts()) : ?>
    			<?php while (have_posts()) : the_post(); ?>
    			<div class="mag_posts" id="post-<?php the_ID(); ?>">
    			<div class="top_mag_posts">
    			<div class="bottom_mag_posts">
    				<h2><?php the_category(', ') ?></h2>
    				<div class="mag_posts_entry">
    					<div class="top_mag_titles">
    					<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
    					</div>
    					<?php the_content(); ?>
    				</div>
    				<div class="mag_posts_meta">
    					<div class="meta_date"><?php the_time('j') ?> <?php the_time('F') ?> <?php the_time('Y') ?></div>
    					<div class="meta_comments">
    					<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">Yazının Devamı >></a></div>
    				</div>
    			</div></div></div>
    			<?php endwhile; ?>
    			<?php endif; ?>
    		</div>
    	<?php include (TEMPLATEPATH . '/rightads.php'); ?>
    	<?php get_sidebar(); ?>
    <div class="clear"></div>
    <?php get_footer(); ?>
    kardes dediğini yaptım fakat olmadı yıne aynı oldu ..
    ana ındex kodum bu ,page numbers eklentisini kullanıyorum..

    bu kodu eklememı istiyo eklenti ekliyorum aynı ..

    <?php if(function_exists('wp_page_numbers')) : wp_page_numbers(); endif; ?>