katagorilerdeki more çalıştırmak
9
●774
- 01-10-2007, 00:49:21Normalde siteye post atarken <!--more--!> bunu koyunca gerisini görmek için devamı oku... linki cıkıyor buraya kadar herşey normal ama katagorilerden birini tıklayınca tüm katagorideki msj lar sankı more etiketi yokmus gibi acılıyor bunu ne yaptıysam cozemedim acıl bir yardıma ihtiyacım var örnek olarak imzamdaki linki tiklayın
- 01-10-2007, 19:47:02kullanim adlı üyeden alıntı: mesajı görüntüle
Bunu biliyorum. yani uzun yazıyı 2-3 sayfaya bolebilen eklentiyi yanlız ondada tüm yazıyı gorememe gibi bir eksiklik var
More tag neden katagorilerde işe yaramıyor Blix teması kullanıyorum - 02-10-2007, 05:55:23
<?php get_header(); ?> <div id="content" class="archive"> <?php if (have_posts()) : ?> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?php if (is_category()) { ?> <h2>Kategori: '<?php echo single_cat_title(); ?>'</h2> <?php } elseif (is_day()) { ?> <h2>İçin Arşiv <?php the_time('F jS, Y'); ?></h2> <?php } elseif (is_month()) { ?> <h2>İçin Arşiv <?php the_time('F, Y'); ?></h2> <?php } elseif (is_year()) { ?> <h2>İçin Arşiv <?php the_time('Y'); ?></h2> <?php } elseif (is_search()) { ?> <h2>Arama Sonuçları</h2> <?php } elseif (is_author()) { ?> <h2>Yazar Arşivi</h2> <?php } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h2>Blog Arşivi</h2> <?php } ?> <?php while (have_posts()) : the_post(); ?> <?php $custom_fields = get_post_custom(); ?> <?php if (isset($custom_fields["BX_post_type"]) && $custom_fields["BX_post_type"][0] == "mini") { ?> <hr class="low" /> <div class="minientry"> <p> <?php echo BX_remove_p($post->post_content); ?> <?php comments_popup_link('(0)', '(1)', '(%)', 'commentlink', ''); ?> <a href="<?php the_permalink(); ?>" class="permalink" title="Kalıcı Bağlantı"><?php the_time('M j, \'y') ?></a> <?php edit_post_link('Düzenle','<span class="editlink">','</span>'); ?> </p> </div> <hr class="low" /> <?php } else { ?> <div class="entry"> <h3><a href="<?php the_permalink() ?>" title="Kalıcı Bağlantı"><?php the_title(); ?></a></h3> <?php the_content('» Devamını oku...'); ?> <p class="info"><a href="<?php the_permalink() ?>" class="more">Devamını Oku</a> <?php comments_popup_link('Yorum Ekle', '1 Yorum', '% Yorumlar', 'commentlink', ''); ?> <em class="date"><?php the_time('F jS, Y') ?></em> <?php edit_post_link('Düzenle','<span class="editlink">','</span>'); ?> </p> </div> <?php } ?> <?php endwhile; ?> <p> <span class="next"><?php previous_posts_link('Sonraki Yazılar') ?></span> <span class="previous"><?php next_posts_link('Önceki Yazılar') ?></span> </p> <?php else : ?> <h2>Bulunamadı</h2> <p>Üzgünüm, kriterlerinize uygun yazı bulunamadı.</p> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>Bunu bi' dener misin?