From 8f920ea6d1e21700aee3566b72e5228720863f7b Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 4 Jun 2026 12:38:24 +0200 Subject: [PATCH] FEATURE Handling general description --- .../statistiques-collections/statistiques-collections.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/carhop-blocks/acf-blocks/statistiques-collections/statistiques-collections.php b/plugins/carhop-blocks/acf-blocks/statistiques-collections/statistiques-collections.php index eee5a8d..0adf56f 100644 --- a/plugins/carhop-blocks/acf-blocks/statistiques-collections/statistiques-collections.php +++ b/plugins/carhop-blocks/acf-blocks/statistiques-collections/statistiques-collections.php @@ -3,6 +3,7 @@ $documents_statistics = get_field('documents_statistics') ?: array(); $total_documents_count = 0; +$general_description = get_field('general_description'); foreach ($documents_statistics as $document_statistic) { $total_documents_count += intval($document_statistic['amount']); @@ -14,7 +15,6 @@ foreach ($documents_statistics as $document_statistic) { $document_statistic['percentage'] = intval($document_statistic['amount']) / $total_documents_count * 100; } - ?>
Dans nos collections

+ +

+ +

+ $document_statistic) : ?>