FEATURE Introducing new tab template part compoonents
This commit is contained in:
parent
0b8599b618
commit
bbe045980f
|
|
@ -1,13 +1,16 @@
|
|||
<?php get_header(); ?>
|
||||
<?php
|
||||
get_header();
|
||||
$revueID = get_field('related_revue', get_the_ID());
|
||||
|
||||
|
||||
?>
|
||||
<div class="page--single-articles" data-revue-id="<?php echo get_the_ID(); ?>">
|
||||
<?php if (have_posts()) : ?>
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<?php get_template_part('template-parts/post-header'); ?>
|
||||
|
||||
<div class="content-wrapper">
|
||||
|
||||
<?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">
|
||||
|
|
@ -17,9 +20,19 @@
|
|||
</aside>
|
||||
|
||||
<div class="content-area">
|
||||
<?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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user