File: /var/www/ilya/data/www/mykam.ru/wp-content/themes/dilectio/single.php
<?php get_header(); ?>
<!-- Container -->
<div class="CON">
<!-- Start SC -->
<div class="SC">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="Post" id="post-<?php the_ID(); ?>" style="padding-bottom: 20px;">
<div class="PostHead">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Постоянная ссылка на <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small class="PostTime">
<strong class="day"><?php the_time('j') ?></strong><strong class="month"><?php the_time('M') ?></strong><strong class="year"><?php the_time('Y') ?></strong>
</small>
<small class="PostCat">Раздел: <?php the_category(', ') ?></small>
<!--<small class="PostAuthor">Author: <?php the_author() ?></small>-->
</div>
<div class="PostContent">
<?php the_content('<p class="serif">далее »</p>'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Страницы:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
<?php if (function_exists('the_tags')) { ?> <?php the_tags('<div class="PostCom"><ul><li class="Tags">Метки: ', ', ', '</li> </ul></div>'); ?> <?php } ?>
</div>
<span class="Note">
Вы можете следить за комментариями на эту запись с помощью <?php comments_rss_link('RSS 2.0'); ?> потока.
<?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 ?>
Перейдите вниз страницы для добавления комментария. Добавление ping в настоящее время не разрешено.
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Добавление комментариев и ping в настоящее время запрещено.
<?php } edit_post_link('Править запись.','',''); ?>
</span>
<?php if ( comments_open() ) comments_template(); ?>
<?php endwhile; else: ?>
<p>К сожалению, запись не найдена. :(</p>
<?php endif; ?>
</div>
<!-- End SC -->
<?php get_sidebar(); ?>
</div>
<!-- End CON -->
<?php get_footer(); ?>