FEATURE Updating gneralized post-header component in carhop theme and using it in dynamiques with the adequate parameters
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
e4299c020f
commit
9ccc48086d
|
|
@ -6,7 +6,15 @@ $revueID = get_field('related_revue', get_the_ID());
|
||||||
<div class="page-single page--single-articles" data-article-id="<?php echo get_the_ID(); ?>">
|
<div class="page-single page--single-articles" data-article-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/post-header'); ?>
|
<?php get_template_part(
|
||||||
|
'template-parts/components/posts/post-header',
|
||||||
|
null,
|
||||||
|
array(
|
||||||
|
'has_thumbnail_overlay' => true,
|
||||||
|
'thumbnail_position' => 'left'
|
||||||
|
)
|
||||||
|
); ?>
|
||||||
|
|
||||||
|
|
||||||
<?php get_template_part('template-parts/articles/article-toolbar'); ?>
|
<?php get_template_part('template-parts/articles/article-toolbar'); ?>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,15 @@ $articles = get_field('articles', $current_issue->ID);
|
||||||
$issue_number = get_field('issue_number', $current_issue->ID);
|
$issue_number = get_field('issue_number', $current_issue->ID);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<?php get_template_part('template-parts/post-header'); ?>
|
<?php get_template_part(
|
||||||
|
'template-parts/components/posts/post-header',
|
||||||
|
null,
|
||||||
|
array(
|
||||||
|
'has_thumbnail_overlay' => true,
|
||||||
|
'thumbnail_position' => 'left'
|
||||||
|
)
|
||||||
|
); ?>
|
||||||
|
|
||||||
<?php get_template_part('template-parts/revues/revue-toolbar'); ?>
|
<?php get_template_part('template-parts/revues/revue-toolbar'); ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user