merhaba arkadaşlar.
anasayfada veya arşivlerde yazının tümünü değil de belli bi karakterden sonra devamını kendi linkine yonlendirmek istiyorum.. boyle bir eklenti veya bir kod varmı acaba?
-fakat yazıyı yazarken özetini bir yere tümünü bir yere yazıp ta yayınlamaktan bahsetmiyorum.
indexe bir kod ekleyerek yapılabileceğini düşünüyorum. yardımcı olur musunuz?
xxx karakterden sonra "Devamını Oku" eklentisi arıyorum
16
●1.141
- 22-12-2008, 02:51:37
- 22-12-2008, 09:18:28böyle birşey olabilir ?
<?php the_content_limit(350, "[Devami]"); ?>
- 22-12-2008, 10:00:59yazı yazarken html'ye geçiş yaptınığnzda moree sekmesini kullanabilirsinz bunun için ekstra bir ekletiye ihtiyaç yok
- 22-12-2008, 12:39:48bende konuyu gördügümde bu kodu verecektim, bunu kullan oluruysal_rockci adlı üyeden alıntı: mesajı görüntüle
- 22-12-2008, 15:40:59teşekkür edrim ama olmadı..
index.php
<?php get_header(); ?> <?php get_sidebar(); ?> <div id="content"> <div align="center" style="padding:10px;"> </div> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="entry"> <div id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <div class="date"><abbr title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s – %2$s'), the_date('', '', '', false), get_the_time()) ?></abbr> <!-- by <?php the_author() ?> --></div> <?php the_content('Read the rest of this entry »'); ?> <?php if ( function_exists('the_tags') ) { the_tags('<p>Etiketler: ', ', ', '</p>'); } ?> <p class="postmetadata">Posted in <span class="cat"><?php the_category(', ') ?></span> | <span class="cmt"><?php comments_popup_link('Yorum yapılmamış »', '1 Comment »', '% Comments »'); ?></span> <?php edit_post_link('| Düzenle |', '', ''); ?></p> </div></div> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('<span class="prev"> Eski Programlar</span>') ?></div> <div class="alignright"><?php previous_posts_link('Yeni Programlar <span class="next"> </span>') ?></div> </div> <?php else : ?> <div class="entry"> <h2>Aradığınız Program Bulunamadı.</h2> İstediğiniz programıbulmak için lütfen sağ üstteki arama kutusuna yazınız. </div> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
bir kaç yer denedim hata verdi. tam nereye koymalıyım bu<?php the_content_limit(350, "[Devami]"); ?>
kodu?