Files

37 lines
630 B
PHP

<?php get_header(); ?>
<main role="main" aria-label="Content" class="h-[5000px]">
<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(); ?>
</article>
<!-- /article -->
<?php endwhile; ?>
<?php else : ?>
<!-- article -->
<article>
<h2><?php esc_html_e( 'Sorry, nothing to display.', 'html5blank' ); ?></h2>
</article>
<!-- /article -->
<?php endif; ?>
</section>
<!-- /section -->
</main>
<?php get_footer(); ?>