Document theme behavior and format editor styles
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php get_header(); ?>
|
||||
<main id="main" class="site-main">
|
||||
<?php 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(); } } ?>
|
||||
<?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();
|
||||
|
||||
Reference in New Issue
Block a user