ADD Create a new template for DBmob to display biographical entries and enhance project visibility

This commit is contained in:
Antoine 2025-05-12 16:56:20 +02:00
parent ffb967f21e
commit 14f08e932c

View File

@ -0,0 +1,48 @@
<?php
/* Template Name: DBmob */
get_header(); ?>
<div class="archive-dbmob">
<div class="container">
<div class="page-heading">
<h1>
<span class="acronyme">DBMOB</span>
<span class="explanation"> Dictionnaire biographique du mouvement ouvrier en Belgique</span>
</h1>
<p>Découvrez notre rôle au sein du projet DBMOB et explorez les notices biographiques réalisées par léquipe du CARHOP. Ces portraits de militant·e·s retracent leurs engagements et contributions. </p>
</div>
<div class="post-grid">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('template-parts/content', 'dbmod'); ?>
<?php endwhile; ?>
</div>
<div class="pagination">
<?php
the_posts_pagination(array(
'mid_size' => 2,
'prev_text' => __('Précédent', 'carhop'),
'next_text' => __('Suivant', 'carhop'),
));
?>
</div>
<?php else : ?>
<div class="col-12">
<?php get_template_part('template-parts/content', 'none'); ?>
</div>
<?php endif; ?>
</div>
</div>
<?php get_footer(); ?>