<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php if (!is_single('post-slug')())
<div class="post" id="post-<?php the_ID(); ?>">
<div class="posttitle">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="لينك مستقيم به <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<p class="post-info"><?php the_time('jS F Y') ?> نوشته شده توسط: <?php the_author_posts_link() ?> </p>
</div>
<div class="entry">
<?php the_excerpt('متن كامل'); ?>
</div>
<p class="postmetadata">موضوع: <?php the_category(', ') ?></p>
</div>