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',
|
'url' => '#prochaines-publications',
|
||||||
)
|
)
|
||||||
)); ?>
|
)); ?>
|
||||||
|
|
||||||
<?php get_template_part('template-parts/components/archive/latest-parutions', null, array(
|
<?php get_template_part('template-parts/components/archive/latest-parutions', null, array(
|
||||||
'post_amount' => 1,
|
'post_amount' => 1,
|
||||||
'post_type' => 'analyses-etudes',
|
'post_type' => 'analyses-etudes',
|
||||||
));
|
));
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<!-- #### ARCHIVE POST GRID #### -->
|
||||||
<!-- #### ANALYSES ET ETUDES POST GRID #### -->
|
<?php get_template_part('template-parts/components/archive/post-grid', null, array(
|
||||||
<?php get_template_part('template-parts/post-types/analyses-etudes/analyses-etudes-grid'); ?>
|
'current_post_type' => 'analyses-etudes',
|
||||||
|
'post_amount' => -1,
|
||||||
|
'grid_title' => 'Trouver une publication',
|
||||||
|
)); ?>
|
||||||
|
|
||||||
|
|
||||||
<!-- #### SOUTENIR #### -->
|
<!-- #### SOUTENIR #### -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user