From c89a69d616b5462d75d9404e5e166e2a7b067091 Mon Sep 17 00:00:00 2001 From: Nonimart Date: Tue, 5 Aug 2025 15:21:12 +0200 Subject: [PATCH] FEATURE Using the new trnaslated_city variable --- template-components/artisans/card-artisans-single.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template-components/artisans/card-artisans-single.php b/template-components/artisans/card-artisans-single.php index 5be4658..224bf33 100644 --- a/template-components/artisans/card-artisans-single.php +++ b/template-components/artisans/card-artisans-single.php @@ -15,6 +15,8 @@ $email = get_field('email', $postID); $website = get_field('website', $postID); $adresse = get_field('adresse', $postID); +$translated_city = isset($adresse['city']) ? translate_city_name($adresse['city'], $current_lang) : ''; + $vatNumber = get_field('vat_number', $postID); $cover_image = get_field('artisan_cover', $postID); ?> @@ -43,7 +45,7 @@ $cover_image = get_field('artisan_cover', $postID); -

+