REFACTOR revue-header to more genral post-header
This commit is contained in:
parent
314834485f
commit
79bc9a260c
|
|
@ -2,8 +2,7 @@
|
||||||
<div class="page--single-articles" data-revue-id="<?php echo get_the_ID(); ?>">
|
<div class="page--single-articles" data-revue-id="<?php echo get_the_ID(); ?>">
|
||||||
<?php if (have_posts()) : ?>
|
<?php if (have_posts()) : ?>
|
||||||
<?php while (have_posts()) : the_post(); ?>
|
<?php while (have_posts()) : the_post(); ?>
|
||||||
<?php get_template_part('template-parts/revues/revue-header'); ?>
|
<?php get_template_part('template-parts/post-header'); ?>
|
||||||
|
|
||||||
|
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<div class="sidebar">
|
<div class="sidebar">
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ $articles = get_field('articles', $current_issue->ID);
|
||||||
<div class="page--single-revue" data-revue-id="<?php echo get_the_ID(); ?>">
|
<div class="page--single-revue" data-revue-id="<?php echo get_the_ID(); ?>">
|
||||||
<?php if (have_posts()) : ?>
|
<?php if (have_posts()) : ?>
|
||||||
<?php while (have_posts()) : the_post(); ?>
|
<?php while (have_posts()) : the_post(); ?>
|
||||||
<?php get_template_part('template-parts/revues/revue-header'); ?>
|
<?php get_template_part('template-parts/post-header'); ?>
|
||||||
|
|
||||||
|
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user