Initial commit - portfolio WordPress
This commit is contained in:
commit
7eead39412
24 files changed
+1581
No files matched your search
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* Fallback — liste des articles (requis par WordPress).
|
||||
*/
|
||||
if ( ! defined( 'ABSPATH' ) ) { exit; }
|
||||
get_header(); ?>
|
||||
|
||||
<section>
|
||||
<div class="container">
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<div class="section-title">
|
||||
<h2>Articles</h2>
|
||||
</div>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<article style="margin-bottom:2.5rem;">
|
||||
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
|
||||
<div><?php the_excerpt(); ?></div>
|
||||
</article>
|
||||
<?php endwhile; ?>
|
||||
<?php else : ?>
|
||||
<p>Aucun contenu pour le moment.</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
Reference in new issue
Block a user