66 lines
1.8 KiB
PHP
66 lines
1.8 KiB
PHP
<?php
|
|
get_header();
|
|
$revueID = get_field('related_revue', get_the_ID());
|
|
?>
|
|
|
|
<div class="page--single-articles" data-article-id="<?php echo get_the_ID(); ?>">
|
|
<?php if (have_posts()) : ?>
|
|
<?php while (have_posts()) : the_post(); ?>
|
|
<?php get_template_part('template-parts/post-header'); ?>
|
|
|
|
<?php get_template_part('template-parts/articles/article-toolbar'); ?>
|
|
|
|
<div class="content-wrapper" data-active-tab="article">
|
|
<aside class="sidebar">
|
|
<div class="search-field">
|
|
<input type="text" placeholder="Rechercher">
|
|
</div>
|
|
|
|
|
|
<?php get_template_part('template-parts/articles/article-tags'); ?>
|
|
<?php get_template_part('template-parts/articles/index-panel'); ?>
|
|
</aside>
|
|
|
|
<div class="content-area">
|
|
|
|
<?php get_template_part('template-parts/articles/article-references', null, array(
|
|
'postId' => get_the_ID()
|
|
)); ?>
|
|
<?php get_template_part('template-parts/articles/article-authors', null, array(
|
|
'postId' => get_the_ID()
|
|
)); ?>
|
|
|
|
<?php get_template_part('template-parts/articles/article-informations', null, array(
|
|
'revueID' => $revueID
|
|
)); ?>
|
|
|
|
<?php get_template_part('template-parts/revues/table-matiere-revue', null, array(
|
|
'revueID' => $revueID
|
|
)); ?>
|
|
|
|
<?php get_template_part('template-parts/articles/article-content', null, array(
|
|
'ID' => get_the_ID()
|
|
)); ?>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- #### RECOMMANDATIONS #### -->
|
|
<?php echo do_blocks('<!-- wp:dynamiques-blocks/nos-recommandations /-->'); ?>
|
|
|
|
<!-- #### EXPLORE TAGS #### -->
|
|
<?php get_template_part('template-parts/components/explore-tags'); ?>
|
|
|
|
<!-- #### INFOLETTRE #### -->
|
|
<?php get_template_part('template-parts/components/subscribe-infolettre'); ?>
|
|
|
|
<?php endwhile; ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
</article>
|
|
|
|
|
|
</div>
|
|
<?php
|
|
get_footer();
|