FIX fixing partner translations
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
fff8be46c0
commit
8d4d9de6be
|
|
@ -95,7 +95,11 @@ switch_to_blog(1);
|
|||
</div>
|
||||
|
||||
<ul class="site-footer__partenaires">
|
||||
<h4 class="content-intertitle"><?php echo __('Nos partenaires', 'homegrade-theme__texte-fonctionnel') ?></h4>
|
||||
<?php
|
||||
$current_lang = apply_filters('wpml_current_language', null);
|
||||
$partenaires_title = $current_lang === "nl" ? "Onze partners" : "Nos partenaires";
|
||||
?>
|
||||
<h4 class="content-intertitle"><?php echo $partenaires_title ?></h4>
|
||||
|
||||
<?php $partenaires = get_field('footer_partenaires', 'term_' . $footer_locale_location_ID)['partenaires']; ?>
|
||||
<?php foreach ($partenaires as $partenaire) : ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user