REFACTOR post grid with the generic post grid component

This commit is contained in:
Antoine 2026-03-16 10:10:00 +01:00
parent 1df28dcc3b
commit 145cc3c414

View File

@ -16,16 +16,18 @@
'url' => '#prochaines-publications',
)
)); ?>
<?php get_template_part('template-parts/components/archive/latest-parutions', null, array(
'post_amount' => 1,
'post_type' => 'analyses-etudes',
));
?>
<!-- #### ANALYSES ET ETUDES POST GRID #### -->
<?php get_template_part('template-parts/post-types/analyses-etudes/analyses-etudes-grid'); ?>
<!-- #### ARCHIVE POST GRID #### -->
<?php get_template_part('template-parts/components/archive/post-grid', null, array(
'current_post_type' => 'analyses-etudes',
'post_amount' => -1,
'grid_title' => 'Trouver une publication',
)); ?>
<!-- #### SOUTENIR #### -->