FEATURE passing the post id in the page to pass to js

This commit is contained in:
Nonimart 2025-06-10 15:53:51 +02:00
parent 0dd5358dc0
commit 36914355b4

View File

@ -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 while (have_posts()) : the_post(); ?>
<?php get_template_part('template-parts/revues/single-revue__header'); ?>