kspace-wordpress-theme/page.php

18 lines
455 B
PHP
Raw Permalink Normal View History

<?php get_header(); ?> <!-- ouvrir header,php -->
<main id="skip">
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
2021-01-03 10:41:52 +01:00
<article class="article-content" id="post-<?php the_ID(); ?>">
<h1 class="page-title"><?php the_title(); ?></h1>
2021-01-03 10:41:52 +01:00
<div class="article-body">
<?php the_content(); ?>
</div>
</article>
2021-01-03 10:41:52 +01:00
<?php endwhile; ?>
<?php endif; ?>
</main>
<?php get_sidebar(); ?>
<?php get_footer(); ?>