Вот он, смотрите.
<?php get_header(); ?>
<div id="content">
<div id="post-wrap" class="narrowcolumn">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<span class="timed"><?php the_time('F jS, Y') ?></span>
<div class="entry">
<?php the_content('Подробнее »'); ?>
</div>
<p class="postmetadata"><?php the_tags('Теги: ', ', ', '<br />'); ?></p>
<p class="postmetadata alt">
<small>
Эта запись была написана
<?php /* This is commented, because it requires a little adjusting sometimes.
You'll need to download this plugin, and follow the instructions:
http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
<?php the_time('l, F jS, Y') ?> <?php the_time() ?>
в Рубрики <?php the_category(', ') ?>.
Вы можете следить за любыми ответы на эту запись через <?php post_comments_feed_link('RSS 2.0'); ?> feed.
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Both Comments and Pings are open ?>
Вы можете <a href="#respond">оставить ответ</a>, или <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> с Вашего собственного сайта.
<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Only Pings are Open ?>
Ответы в настоящее время закрыты, но вы можете <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> с Вашего собственного сайта.
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Comments are open, Pings are not ?>
Вы можете пропустить до конца и оставить ответ.
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Все комментарии закрыты.
<?php } edit_post_link('Изменить эту запись.','',''); ?>
</small>
</p>
</div>
<?php comments_template(); ?>
<?php endwhile; ?>
<?php else : ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php bloq('name'); ?>
<div class="cleared"></div>
</div>
<?php get_footer(); ?>