REFACTOR post grid with the generic post grid component
This commit is contained in:
parent
1df28dcc3b
commit
145cc3c414
|
|
@ -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 #### -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user