• 01-10-2007, 00:49:21
    #1
    Normalde 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, 17:40:37
    #2
    önemli bir konu yardım rica edyorum
  • 01-10-2007, 18:01:46
    #3
    Üyeliği durduruldu
    Evet düşünülmemiş bir olay galiba bu.. Bunun çözümünü bir arkadaşımız geçenlerde uzun yazılarınızı 2-3 sayfaya nasıl bölünebileceğimizi gösteren bir eklenti yada kod paylaşmıştı.. Ona bir bakın istersen
  • 01-10-2007, 19:47:02
    #4
    kullanim adlı üyeden alıntı: mesajı görüntüle
    Evet düşünülmemiş bir olay galiba bu.. Bunun çözümünü bir arkadaşımız geçenlerde uzun yazılarınızı 2-3 sayfaya nasıl bölünebileceğimizi gösteren bir eklenti yada kod paylaşmıştı.. Ona bir bakın istersen

    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, 00:22:04
    #5
    archive.php ve varsa category.php dosyalarını kopyalayabilir misin?
  • 02-10-2007, 00:42:39
    #6
    archive.php
    Alıntı
    <?php get_header(); ?>

    <!-- content ................................. -->
    <div id="content" class="archive">

    <?php if (have_posts()) : ?>

    <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    <?php /* If this is a category archive */ if (is_category()) { ?>
    <h2>Kategori: '<?php echo single_cat_title(); ?>'</h2>

    <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    <h2>İçin Arşiv <?php the_time('F jS, Y'); ?></h2>

    <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    <h2>İçin Arşiv <?php the_time('F, Y'); ?></h2>

    <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    <h2>İçin Arşiv <?php the_time('Y'); ?></h2>

    <?php /* If this is a search */ } elseif (is_search()) { ?>
    <h2>Arama Sonuçları</h2>

    <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    <h2>Yazar Arşivi</h2>

    <?php /* If this is a paged archive */ } 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') ?><!--, <?php the_time('h:ia') ?>--></a>
    <!--<em class="author"><?php the_author() ?></em>-->
    <?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 ($post->post_excerpt != "")? the_excerpt() : BX_shift_down_headlines($post->post_content); ?>

    <p class="info"><?php if ($post->post_excerpt != "") { ?><a href="<?php the_permalink() ?>" class="more">Devamını Oku</a><?php } ?>
    <?php comments_popup_link('Yorum Ekle', '1 Yorum', '% Yorumlar', 'commentlink', ''); ?>
    <em class="date"><?php the_time('F jS, Y') ?><!-- at <?php the_time('h:ia') ?>--></em>
    <!--<em class="author"><?php the_author(); ?></em>-->
    <?php edit_post_link('Düzenle','<span class="editlink">','</span>'); ?>
    </p>

    </div>

    <?php } ?>

    <?php endwhile; ?>

    <p><!-- this is ugly -->
    <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> <!-- /content -->

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>
    category.php bu dosya yok
  • 02-10-2007, 05:55:23
    #7
    <?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?
  • 02-10-2007, 12:31:28
    #8
    hocam çok guzel oldu hangi kodu düzelttin fark edemedim ama sagol güzel oldu
  • 03-10-2007, 02:35:46
    #9
    60..62. satırlar arasında saçma sapan bi' kod vardı, onu olması gereken kodla değiştirdim. Bu arada istersen verdiğim kodda 37. satırdaki:
    <p class="info"><a href="<?php the_permalink() ?>" class="more">Devamını Oku</a>
    kodunu
    <p class="info">
    ile değiştirebilirsin.