• 02-10-2007, 22:23:09
    #10
    bunu tam olarak nereye yazcaz ilk defa kuruyorum wp , ve bu temayı kullanıyorum;
    xsized.de/wordpress-theme-not-so-fresh/, index.php ve single.php var anlamadım,
    index php kodları;

    <?php get_header(); ?>

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

    <?php $post = $posts[0]; // Thanks Kubrick for this code ?>

    <?php if (is_category()) { ?>
    <div class="page-title">
    <h2 class="page-title-border"><?php echo single_cat_title(); ?> <?php _e('Arşivi'); ?></h2>
    </div>
    <?php } elseif (is_day()) { ?>
    <div class="page-title">
    <h2 class="page-title-border"><?php the_time('F j, Y'); ?> <?php _e('Arşivi'); ?></h2>
    </div>
    <?php } elseif (is_month()) { ?>
    <div class="page-title">
    <h2 class="page-title-border"><?php the_time('F, Y'); ?> <?php _e('Arşivi'); ?></h2>
    </div>
    <?php } elseif (is_year()) { ?>
    <div class="page-title">
    <h2 class="page-title-border"><?php the_time('Y'); ?> <?php _e('Arşivi'); ?></h2>
    </div>
    <?php } elseif (is_author()) { ?>
    <div class="page-title">
    <h2 class="page-title-border"><?php _e('Author Archive'); ?></h2>
    </div>
    <?php } elseif (is_search()) { ?>
    <div class="page-title">
    <h2 class="page-title-border"><?php _e('Search Results'); ?></h2>
    </div>
    <?php } ?>


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

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

    <h2 class="posttitle">
    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permalink to'); ?> <?php the_title(); ?>"><?php the_title(); ?></a>
    </h2>

    <p class="postmeta">
    Yazan, <?php the_author('nickname');?>&nbsp;
    <span class="post-date"><?php the_time('j M, Y') ?></span>&nbsp;
    <span class="post-comment"><?php comments_popup_link(__('Yorum yok'), __('1 Comment'), __('% Comments'), 'commentslink', __('Comments are off')); ?></span>
    <?php edit_post_link(__('Edit'), ' · ', ''); ?>
    </p>
    <?php the_tags('Etiketler: ', ', ', '<br />'); ?>
    <div class="postentry">
    <?php if (is_search()) { ?>
    <?php the_excerpt() ?>
    <?php } else { ?>
    <?php the_content(__('Read the rest of this entry &raquo;')); ?>
    <?php } ?>
    </div>

    <!--
    <?php trackback_rdf(); ?>
    -->

    </div>

    <?php endwhile; ?>

    <div class="pages">
    <div class="pages-border"></div>
    <span class="page-previous"><?php posts_nav_link(' ', '', __('&laquo; Bayat muhabbetler')); ?></span>
    <span class="page-next"><?php posts_nav_link('', __('Taze muhabbetler &raquo;'), ''); ?></span>
    </div>

    <?php else : ?>

    <div class="post">
    <h2><?php _e('Sonu&ccedil; bulunamadı.'); ?></h2>
    </div>

    <?php endif; ?>


    <?php get_sidebar(); ?>

    <?php get_footer(); ?>
  • 03-10-2007, 02:41:23
    #11
    Yazıyı yazarken kullanıyorsunuz dediğimi, tıpkı <!--more--> kodunu kullanırken olduğu gibi.
  • 07-10-2007, 02:12:49
    #12
    ben plugini attım.. yazmış olduğum yazının ortasına <!--more--> tagını koydum orada tag görünüyo ne alaka anlayamadım nasıl olacak tam olarak..

    mesela....

    yazılar yazılar yazılar yazılar
    yazılar yazılar yazılar yazılar
    yazılar yazılar yazılar yazılar
    - bölecegiim yer - ne yapmam gerekiyor...
    yazılar yazılar yazılar yazılar
    yazılar yazılar yazılar yazılar
  • 15-01-2008, 22:48:07
    #13
    çok teşekkürler, işime yaradı