FEATURE Introducing component
This commit is contained in:
parent
c3333cf403
commit
7621066e00
50
archive-actualites.php
Normal file
50
archive-actualites.php
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
<?php get_header(); ?>
|
||||
|
||||
<?php
|
||||
$current_post_type = get_post_type();
|
||||
|
||||
?>
|
||||
|
||||
<main id="content" class="site-content flex-grow">
|
||||
<?php get_template_part('template-parts/post-types/actualites/archive-header'); ?>
|
||||
|
||||
|
||||
<!-- #### LATEST PARUTIONS #### -->
|
||||
<?php get_template_part('template-parts/components/archive/latest-parutions', null, array(
|
||||
'post_amount' => 1,
|
||||
'post_type' => 'expositions',
|
||||
));
|
||||
?>
|
||||
|
||||
|
||||
<!-- #### ANALYSES ET ETUDES POST GRID #### -->
|
||||
<?php get_template_part('template-parts/components/archive/post-grid', null, array(
|
||||
'current_post_type' => 'expositions',
|
||||
'post_amount' => -1,
|
||||
'grid_title' => 'Trouver une exposition',
|
||||
)); ?>
|
||||
|
||||
|
||||
<!-- #### SOUTENIR #### -->
|
||||
<?php
|
||||
$composition_id = 988;
|
||||
$soutenir_content = get_post_field('post_content', $composition_id);
|
||||
|
||||
if ($soutenir_content) {
|
||||
echo do_blocks($soutenir_content);
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- #### INFOLETTRE #### -->
|
||||
<?php
|
||||
$composition_id = 992;
|
||||
$_infolettre_content = get_post_field('post_content', $composition_id);
|
||||
|
||||
if ($_infolettre_content) {
|
||||
echo do_blocks($_infolettre_content);
|
||||
}
|
||||
?>
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
Loading…
Reference in New Issue
Block a user