FEATURE passing the post id in the page to pass to js
This commit is contained in:
parent
0dd5358dc0
commit
36914355b4
|
|
@ -9,7 +9,7 @@ $articles = get_field('articles', $current_issue->ID);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<div class="page--single-revue">
|
<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/single-revue__header'); ?>
|
<?php get_template_part('template-parts/revues/single-revue__header'); ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user