İndex.php Buyrun Arkadaşlar

<?php get_header(); ?>
<div class="wpn_left">
	<?php if (have_posts()) : ?>
		<!-- // Featured Posts -->	
		<!-- News & Updates // -->
		<span class="wpn_heading">Son Eklenenler<a class="wpn_toggle-expand wpn_toggle-hide" href="#"></a></span>
        <div class="wpn_expandable">
			<ul class="wpn_news">
			<?php while (have_posts()) : the_post(); ?>
				<li <?php post_class() ?> id="post-<?php the_ID(); ?>">
					<a class="wpn_title" href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
					<div class="wpn_info">
						<?php echo get_avatar( get_the_author_email(), '40' ); ?>By <?php the_author_posts_link() ?><br />
						Tarih <?php the_time('F jS, Y \a\t g:i a') ?>
					</div>
					<?php
					$thumb = get_post_meta($post->ID, "thumbnail", true);
					if($thumb)
					echo '<img class="wpn_thumb" src="'.$thumb.'" alt="" />';
					?>
					<div class="wpn_post">
						<?php wpn_content_limit(get_the_content(),500); ?>
					</div>
					<div class="wpn_bottom">
						<a class="wpn_comments" href="<?php the_permalink() ?>#comments"><strong><?php comments_number(__('0'), __('1'), __('%')); ?></strong> Yorum Var</a>
						<a class="wpn_continue" href="<?php the_permalink() ?>"> Diger Yorumlar</a>
					</div>
				</li>
			<?php endwhile; ?>
			</ul>
			<!-- Page Navigation -->
			<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
		</div>
	<!-- 404 Error -->
	<?php else : include ('editable/404/404-error.php'); endif; ?>
	<div class="wpn_clear"></div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>