'parcours', 'posts_per_page' => -1, 'orderby' => 'menu_order', 'order' => 'ASC', 'status' => 'publish', 'post_parent' => get_queried_object_id(), )); $otherSteps = new WP_Query(array( 'post_type' => 'parcours', 'posts_per_page' => -1, 'orderby' => 'menu_order', 'order' => 'ASC', 'status' => 'publish', 'post_parent' => 0, 'post__not_in' => array(get_queried_object_id()) )); $blocks = parse_blocks($post->post_content); $chapterBlockIndex = build_page_chapter_index($blocks); // see utilities.php ?> ID); get_template_part("template-components/heading-box--parcours-parent", null, array( "pageIcon" => $pageIcon, "subtitle" => __("Parcours rénovateur", "homegrade-theme__texte-fonctionnel"), "title" => get_the_title(), "icon" => $pageIcon, )); ?>