سلام دوست عزیز
تست کردم با قالبای اصلی وردپرس درست بود
اینم کد فایل single.php قراردادم بررسی کنید ببینید مشکلش چیه
<?php get_header(); ?>
<?php if(!is_home()) { ?><?php if(function_exists(simple_breadcrumb)) { simple_breadcrumb(); } ?><?php } ?>
<div class="continer">
<?php include(TEMPLATEPATH."/rightside.php");?>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="postform">
<div class="onvan">
<div class="icon"><span class="fa fa-list blue"></span></div>
<h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
</div>
<div class="top_bar">
<ul class="top_social_icons">
<li class="twitter"><a href="
http://twitter.com/home?status=<?php the_permalink(); ?>">twitter</a></li>
<li class="facebook"><a href="
http://www.facebook.com/share.php?v=4&src=bm&u=<?php the_permalink(); ?>">facebook</a></li>
<li class="gplus"><a href="
http://plus.google.com/share?url=<?php the_permalink(); ?>" >google plus</a></li>
<li class="linkedin"><a href="
http://www.linkedin.com/shareArticle?mini=true&url=<?php the_permalink(); ?>">LinkedIn</a></li>
<li class="digg"><a href="
http://digg.com/submit?url=<?php the_permalink(); ?>">feedburner</a></li>
</ul>
</div>
<div class="hometext">
<?php the_content('<div style="display:none;">{...}</div>'); ?>
</div>
<?php echo $download; ?><?php echo $download= get_post_meta($post->ID, 'download', true); ?>
<ul class="meta">
<li><span class="fa fa-calendar"></span><?php the_time(__('F jS, Y','kubrick')) ?></li>
<li><span class="fa fa-user"></span><?php the_author(); ?></li>
<li><span class="fa fa-thumbs-o-up"></span><?php printLikes(get_the_ID()); ?></li>
</ul>
</div>
<div class="postform">
<div class="onvan">
<div class="icon"><span class="fa fa-eye green"></span></div>
<h2 class="green">مطالب مشابه با این مطلب</h2>
</div>
<div class="morelist">
<?php
$categories = get_the_category($post->ID);
if ($categories) {
$category_ids = array();
foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;
$args=array(
'category__in' => $category_ids,
'post__not_in' => array($post->ID),
'showposts'=>8, // Number of related posts that will be shown.
'caller_get_posts'=>1
);
$my_query = new wp_query($args);
if( $my_query->have_posts() ) {
echo '<ul class="related_post">';
while ($my_query->have_posts()) {
$my_query->the_post();
?>
<li><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
<?php
}
echo '</ul>';
}
}
?>
</div>
</div>
<div class="postform">
<div class="posttags">
<span class="tagtitle">
<span class="fa fa-tag"></span> برچسب ها</span>
<?php the_tags(__(' ','kubrick'), ' ', '<br />'); ?>
</div>
</div>
<?php endwhile; else: ?><?php endif; ?>
<div class="postform">
<div class="icon"><span class="fa fa-comments green"></span></div>
<h2 class="green">نظرات کاربران</h2>
<?php comments_template(); ?>
</div>
<div class="postform">
<div class="icon"><span class="fa fa-shopping-cart blue"></span></div>
<h2>پست ثابت</h2>
<div class="hometext">
<p align="justify">
کد پست ثابت
</p>
</div>
</div>
</div>
<?php include(TEMPLATEPATH."/leftside.php");?>
<?php get_footer(); ?>