wordpress/php-fpm/wordpress_files/themes/rules/single.php
2020-05-22 01:40:23 +00:00

31 lines
934 B
PHP

<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<span class="post-cat"><?php the_category(', ') ?></span> <span class="post-calendar"><?php the_time('jMy') ?></span>
<div class="post-content">
<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
<?php edit_post_link('Edit', '', ''); ?>
</div>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>
</div><!--/post -->
</div><!--/content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>