FIX Bug on city adress display for chantier
This commit is contained in:
parent
c7d3fdbb66
commit
625a235ea5
|
|
@ -154,7 +154,9 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
|||
<?php
|
||||
$chantier_description = get_field('description', $chantier->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);
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user