• 04-07-2010, 13:52:56
    #1
    <div id="content">
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="single" id="post-<?php the_ID(); ?>">
    <div class="title">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <div class="date"><span class="author">Ekleyen <?php the_author(); ?></span> <span class="clock"> <?php the_time('F - j - Y'); ?></span><span class="comm"><?php comments_popup_link('Yorum Yap', '1 COMMENT', '% COMMENTS'); ?></span>	</div>	
    </div>
    <div class="cover">
    <div class="entry">
    <?php $preview = get_post_meta($post->ID, 'preview', $single = true); ?>
    <img class="ethumb" src="http://www.siteadi.com/resim.gif" alt=""/> 
    <?php if(function_exists('the_content_limit')) { ?>
    <?php the_content_limit(500);  ?>
    <?php } else { ?>
    <p> Activate the limitpost plugin to see the post contents ! </p>
    <?php } ?> 
    					<div class="clear"></div>
    </div>
    </div>

    Ben Bu kodu kendime özel yaptığım index.php dosyasından herhangi bir yerde bulunan bir wordpressten eklenen son 5 konuyu sıralamak istiyorum. Bunu nasıl yapabilirim yada bu kodu bana düzenleyecek bir arkadaş yok mu :S
  • 04-07-2010, 21:34:25
    #2
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Burası Wordpress bölümü mü?