FEATURE Using the new trnaslated_city variable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1c03e26ab4
commit
c89a69d616
|
|
@ -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);
|
|||
|
||||
|
||||
<?php if ($adresse): ?>
|
||||
<p class="card-artisans__adresse"><?php echo $adresse['post_code'] . " " . $adresse['city'] ?></p>
|
||||
<p class="card-artisans__adresse"><?php echo $adresse['post_code'] . " " . $translated_city ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user