wordpress/php-fpm/wordpress_files/themes/berdinak/single.php

31 lines
938 B
PHP
Raw Normal View History

2020-05-22 03:40:23 +02:00
<?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('F jS, Y') ?></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(); ?>