From 2528e25b65f780fe1fa642fb2666eedbc0fc9297 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Fri, 27 Oct 2023 16:07:30 +0200 Subject: [PATCH] fixing passing current ID to the chapter component --- single-conseils.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/single-conseils.php b/single-conseils.php index ec080b2..d0c8a6b 100644 --- a/single-conseils.php +++ b/single-conseils.php @@ -80,7 +80,9 @@ function build_chapter_index($blocks) $blocks = parse_blocks($post->post_content); $chapterBlockIndex = build_chapter_index($blocks); ?> - + get_the_ID(), + )); ?>