28 lines
1.2 KiB
PHP
28 lines
1.2 KiB
PHP
<?php
|
|
/* Don't remove this line. */
|
|
require('./wp-blog-header.php');
|
|
include(get_template_directory() . '/header.php');
|
|
?>
|
|
|
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
|
|
|
<div class="post">
|
|
<h2 class="post-title" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link رابط دائم: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
|
|
|
<div class="post-content"><?php the_content(); ?></div>
|
|
|
|
<div class="post-footer">
|
|
<p><?php _e("تصنيف Category"); ?> <?php the_category(',') ?> | <?php the_author_posts_link('nickname'); ?></p>
|
|
<p><?php the_time('H:i',TRUE); ?> <?php the_date('Y.m.d','','', TRUE); ?> | <?php comments_popup_link(__('لا تعليقات No Comments'), __('تعليق واحد One Comment'), __('تعليقات (%) Comments')); ?></p>
|
|
</div>
|
|
<?php trackback_rdf(); ?>
|
|
</div>
|
|
|
|
<?php comments_template(); // Get wp-comments.php template ?>
|
|
|
|
<?php endwhile; else: ?>
|
|
<p><?php _e('عفوا، لا تدوينات تلائم اختيارك.'); ?></p>
|
|
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
|
|
<?php endif; ?>
|
|
|
|
<?php include(get_template_directory() . '/footer.php'); ?>
|