From 257f0d50f02a8fdbfda0428d253d319dae0eaa61 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 23 Jul 2024 11:36:03 +0200 Subject: [PATCH] tests on previous next posts --- single-parcours-child.php | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/single-parcours-child.php b/single-parcours-child.php index b695941..e83df4d 100644 --- a/single-parcours-child.php +++ b/single-parcours-child.php @@ -46,28 +46,31 @@ $pageIcon = get_field('step_icon', $post->ID); $prev_thumbnail_url = get_the_post_thumbnail_url($prev_post, 'thumbnail'); $prev_page_icon = get_field('step_icon', $prev_post->ID) ?? null; $next_page_icon = get_field('step_icon', $next_post->ID) ?? null; + + $test = get_parcours_previous_next_posts($post); ?> - - - - - - - - - + + + + + + + + + + \ No newline at end of file