diff --git a/single-artisans.php b/single-artisans.php index 1a36525..24d92d3 100644 --- a/single-artisans.php +++ b/single-artisans.php @@ -154,7 +154,9 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null; ID); $date = get_field('date', $chantier->ID); - $city = get_field('city', $chantier->ID)['city'] ?? null; + $localisation = get_field('localisation', $chantier->ID) ?? null; + $city = $localisation['city'] ?? null; + $pictures = get_field('pictures', $chantier->ID); $chantier_name = get_field('chantier_name', $chantier->ID); ?>