themes-wordpress/dyad-2/page.php

27 lines
550 B
PHP
Raw Permalink Normal View History

2018-02-27 03:11:30 +00:00
<?php
/**
* The template for displaying all single posts.
*
* @package Dyad
*/
get_header(); ?>
<main id="primary" class="content-area" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'template-parts/content', 'page' ); ?>
<?php endwhile; // End of the loop. ?>
<?php
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
</main><!-- #main -->
<?php get_footer(); ?>