• 12-11-2008, 09:43:03
    #1
    merhaba arkadaşlar. şurdaki olayı beceremedim. kodu nereye yapıştırmam gerekiyor.?

    WordPress ile çok sayfalı yazılar hazırlamak | Cnkt

    .
  • 12-11-2008, 11:46:51
    #2
    yazı yazarken, html kısmına girip, ayırmak istediğiniz metnin öncesine, bağlantıdaki nextpage kodunu yapıştırın.
  • 12-11-2008, 13:14:57
    #3
    yapıştırdım zaten onu ama olmadı. ile başta denedim onu.
  • 12-11-2008, 13:34:46
    #4
    o zaman temanızda,
    <? wp_link_pages(); ?>
    kodu yoktur
  • 12-11-2008, 14:58:19
    #5
    bende onu soruyorum arkadaşım. o kodu nereye yerleştireceğim. onu bilmiyorum. ilk yazımda da yazdım. o kod bende yok. nereye yerleştirmem gerekiyor.
  • 12-11-2008, 16:43:52
    #6
    Ersingo adlı üyeden alıntı: mesajı görüntüle
    yapıştırdım zaten onu ama olmadı. ile başta denedim onu.
    burda ne ile olduğunu anlasam, zaten ona göre cevap verirdim arkadaşım(!).

    <?php if (have_posts())
    ile başlayan kısımdan

    <?php endwhile; ?>
    arasında herhangi bir yere yerleştirebilirsin kodu.
  • 13-11-2008, 11:52:31
    #7
    Kimlik doğrulama veya yönetimden onay bekliyor.
    <?php get_header(); ?>
    <div id="content">
       <div id="contentleft">
          <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
          <h1><?php the_title(); ?></h1>
          <!--post text with the read more link-->
          <?php the_content('<div class="post-more">Read the rest of this entry &raquo;</div>'); ?>
          <!--for paginate posts-->
          <?php link_pages('<p><strong>Sayfalar:</strong> ', '</p>', 'number'); ?>
          <?php endwhile; else: ?>
          <p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
       </div>
       <?php get_sidebar(); ?>
    </div>
    <!-- The main column ends  -->
    <?php get_footer(); ?>
    Alıntı
    <?php link_pages('<p><strong>Sayfalar:</strong> ', '</p>', 'number'); ?
  • 13-11-2008, 13:06:11
    #8
    index.php demi yapılacak bu işlem.
  • 13-11-2008, 13:12:14
    #9
    evet index.php'de, ayrıca single.php'ye de ekleyebilirsiniz.