7 lines
530 B
PHP
7 lines
530 B
PHP
<?php get_header(); ?>
|
|
<main id="main" class="site-main">
|
|
<?php // Preserve existing discussions even after new comments have been closed.
|
|
while ( have_posts() ) { the_post(); ?><article id="post-<?php the_ID(); ?>" <?php post_class(); ?>><header class="entry-header"><?php the_title( '<h1 class="entry-title">', '</h1>' ); ?></header><div class="entry-content"><?php the_content(); wp_link_pages(); ?></div></article><?php if ( comments_open() || get_comments_number() ) { comments_template(); } } ?>
|
|
</main>
|
|
<?php get_footer();
|