46 lines
708 B
PHP
46 lines
708 B
PHP
<?php get_header(); ?>
|
|
|
|
|
|
<!-- section -->
|
|
<section>
|
|
|
|
<h1><?php the_title(); ?></h1>
|
|
|
|
<?php if (have_posts()): while (have_posts()) : the_post(); ?>
|
|
|
|
<!-- article -->
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
|
|
<?php the_content(); ?>
|
|
|
|
<?php comments_template( '', true ); // Remove if you don't want comments ?>
|
|
|
|
<br class="clear">
|
|
|
|
<?php edit_post_link(); ?>
|
|
|
|
</article>
|
|
<!-- /article -->
|
|
|
|
<?php endwhile; ?>
|
|
|
|
<?php else: ?>
|
|
|
|
<!-- article -->
|
|
<article>
|
|
|
|
<h2><?php _e( 'Sorry, nothing to display.', 'dis2019' ); ?></h2>
|
|
|
|
</article>
|
|
<!-- /article -->
|
|
|
|
<?php endif; ?>
|
|
|
|
</section>
|
|
<!-- /section -->
|
|
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|