This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
qdouze-wordpress-theme/single.php

24 lines
606 B
PHP
Raw Normal View History

2018-10-24 17:55:22 +02:00
<?php get_header(); ?> <!-- ouvrir header,php -->
<main class="col-md-8">
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<article class="article-content" id="post-<?php the_ID(); ?>">
2018-10-24 18:06:20 +02:00
<h1 class="page-title"><i class="fa fa-fw fa-file-text"></i> <?php the_title(); ?></h1>
2018-10-24 21:07:40 +02:00
<aside class="article-excerpt">
<?php the_excerpt(); ?>
<hr />
</aside>
2018-10-24 17:55:22 +02:00
<div class="article-body">
<?php the_content(); ?>
</div>
</article>
<?php endwhile; ?>
<?php endif; ?>
</main>
<?php get_sidebar(); ?>
<?php get_footer(); ?>