From 06270d27cbee2a6f22c66ab81f7a90d7f2effb3d Mon Sep 17 00:00:00 2001 From: Antoine M Date: Mon, 23 Mar 2026 14:29:59 +0100 Subject: [PATCH] FEATURE Handling like count and cite reference --- template-parts/components/posts/post-header.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/template-parts/components/posts/post-header.php b/template-parts/components/posts/post-header.php index 4ea9648..3513a8a 100644 --- a/template-parts/components/posts/post-header.php +++ b/template-parts/components/posts/post-header.php @@ -14,6 +14,9 @@ $main_author = get_field('main_author', $ID); $post_date_info_label = $args['post_date_info_label'] ?? 'Parution'; $thumbnail_position = $args['thumbnail_position'] ?? 'left'; $has_thumbnail_overlay = $args['has_thumbnail_overlay'] ?? false; + +$likes_count = get_post_likes_count($post_id); +$citeReference = get_field('cite_reference', $post_id); ?>