From 562be8f9a780f22080e7cad4c560c794db16f46f Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 5 May 2026 11:11:50 +0200 Subject: [PATCH] FEATURE Handlign cite button --- template-parts/components/posts/social-buttons.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template-parts/components/posts/social-buttons.php b/template-parts/components/posts/social-buttons.php index b03552f..0d756e6 100644 --- a/template-parts/components/posts/social-buttons.php +++ b/template-parts/components/posts/social-buttons.php @@ -2,11 +2,13 @@ $currentPostType = get_post_type(); $shareUrls = build_share_urls(); $handleCitation = post_type_supports($currentPostType, 'carhop-citations') ?? false; +$citeReference = get_field('cite_reference', get_the_ID()); +// write_log($handleCitation); ?>
- +