• 20-04-2009, 19:39:49
    #10
    Şunun kurulumunu net bir şekilde anlatırsanız sevinirim.
    WP'de yeniyim.

    index.php kodlarım bu:

    Alıntı
    <?php
    /**
    * @package WordPress
    * @subpackage Classic_Theme
    */
    get_header();
    ?>
    <div id="content">

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

    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">

    <div class="totalcomments"><?php comments_popup_link(__('0'), __('1'), __('%')); ?></div>

    <h1 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>

    <div class="storycontent">
    <?php the_content('Devamını oku &raquo;'); ?>
    </div>

    <div class="feedback">
    <div class="postdate"><?php the_time('d F Y, l'); ?></div>
    <div class="postcat"><?php the_category(' | '); ?></div>
    </div>

    <p class="spacer"></p>

    </div><!-- /post -->

    <?php endwhile; else: ?>

    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>

    <?php endif; ?>

    <div class="navigation">
    <?php posts_nav_link(' | ', __('&laquo; Newer Posts'), __('Older Posts &raquo;')); ?>
    </div>

    </div><!-- /content -->
    <?php get_footer(); ?>
  • 20-04-2009, 21:10:23
    #11
    Kimlik doğrulama veya yönetimden onay bekliyor.
    DoktorTR için eklenti aktif ise;

    Bunun yerine,
    <?php posts_nav_link(' | ', __('&laquo; Newer Posts'), __('Older Posts &raquo;')); ?>
    Bunu,
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
  • 20-04-2009, 21:16:06
    #12
    rugzO adlı üyeden alıntı: mesajı görüntüle
    DoktorTR için eklenti aktif ise;
    Bunun yerine,
    <?php posts_nav_link(' | ', __('&laquo; Newer Posts'), __('Older Posts &raquo;')); ?>
    Bunu,
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
    evet eklenti pagenavi yi kurdukdan sonra Ana İndeks Şablonu (index.php) dosyasından bu satırı bul ve alttaki satırla değiştir ve şu sitede olduğu gibi sayfanı istediğin sayfaya kadar sıralayabilirin

    fulloyunlar.net
  • 20-04-2009, 21:52:16
    #13
    Teşekkürler,hallettim sonunda.

    1 adet de üst kısma koymak istesem,nasıl yaparım?
  • 20-04-2009, 21:55:40
    #14
    doktortr adlı üyeden alıntı: mesajı görüntüle
    teşekkürler,hallettim sonunda.
    1 adet de üst kısma koymak istesem,nasıl yaparım?
    Alıntı
    <?php
    /**
    * @package wordpress
    * @subpackage classic_theme
    */
    get_header();
    ?>

    <div class="navigation">
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
    </div>

    <div id="content">

    <?php if (have_posts()) : While (have_posts()) : The_post(); ?>

    <div <?php post_class() ?> id="post-<?php the_id(); ?>">

    <div class="totalcomments"><?php comments_popup_link(__('0'), __('1'), __('%')); ?></div>

    <h1 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>

    <div class="storycontent">
    <?php the_content('devamını oku &raquo;'); ?>
    </div>

    <div class="feedback">
    <div class="postdate"><?php the_time('d f y, l'); ?></div>
    <div class="postcat"><?php the_category(' | '); ?></div>
    </div>

    <p class="spacer"></p>

    </div><!-- /post -->

    <?php endwhile; else: ?>

    <p><?php _e('sorry, no posts matched your criteria.'); ?></p>

    <?php endif; ?>

    <div class="navigation">
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
    </div>

    </div><!-- /content -->
    <?php get_footer(); ?>
    ..
  • 20-04-2009, 22:01:37
    #15
    Teşekkür
  • 20-04-2009, 22:35:02
    #16
    Üyeliği durduruldu
    Arkadaşlar Benim İndex.Php Dosyamda

    <?php posts_nav_link(' | ', __('&laquo; Newer Posts'), __('Older Posts &raquo;')); ?>

    Böyle Bir Kod Yok Yada Ben Yanlış Dosyayı Açtım index.php nin yerini belirtimisiniz?
  • 20-04-2009, 23:52:01
    #17
    Tema klasörünün içinde işte .

    wp-content/themes/tema klasörü/index.php

    Home.php de oluyor bazen adı .