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

29 lines
589 B
PHP

<?php
/*
Template Name: page-calendar
*/
?>
<?php get_header(); ?>
<div id="content-calendar">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><?php the_title(); ?></h2>
<div class="post-content">
<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
</div>
</div>
<?php endwhile; endif; ?>
</div><!--/content -->
<?php get_footer(); ?>