internationalizing footer
This commit is contained in:
parent
1b9b0d899c
commit
2fd5964a10
14
footer.php
14
footer.php
|
|
@ -8,20 +8,28 @@
|
|||
<footer id="main_footer" class="site-footer bg-gray-50 py-12" role="contentinfo">
|
||||
|
||||
<div class="site-footer__informative-message">
|
||||
<?php $footer_superior_info_message = get_field('footer_superior_info_message', 'menu_' . 53); ?>
|
||||
<?php
|
||||
$theme_locations = get_nav_menu_locations();
|
||||
$footer_location_ID = $theme_locations['footer'];
|
||||
$footer_locale_location_ID = apply_filters('wpml_object_id', $footer_location_ID, 'nav_menu', TRUE,);
|
||||
$theme_locations = get_nav_menu_locations();
|
||||
|
||||
?>
|
||||
<?php $footer_superior_info_message = get_field('footer_superior_info_message', 'term_' . $footer_locale_location_ID); ?>
|
||||
<?php
|
||||
?>
|
||||
<img src='<?php echo get_template_directory_uri() ?>/resources/img/pictogrammes/icone-info.svg' alt=''>
|
||||
<p class=""><?php echo $footer_superior_info_message['message'] ?></p>
|
||||
</div>
|
||||
|
||||
<div class="site-footer__infos-contact">
|
||||
<?php $infos_contact = get_field('footer_infos_contact_datagroup', 'menu_' . 53); ?>
|
||||
<?php $infos_contact = get_field('footer_infos_contact_datagroup', 'term_' . $footer_locale_location_ID); ?>
|
||||
<div class="point-info">
|
||||
<h4 class="content-intertitle"><?php echo $infos_contact['point_info']['title'] ?></h4>
|
||||
<p><?php echo $infos_contact['point_info']['text'] ?></p>
|
||||
</div>
|
||||
<div class="permanenc-telephonique">
|
||||
<?php $footer_superior_info_message = get_field('footer_superior_info_message', 'menu_' . 53); ?>
|
||||
<?php $footer_superior_info_message = get_field('footer_superior_info_message', 'term_' . $footer_locale_location_ID); ?>
|
||||
|
||||
<h4 class="content-intertitle"><?php echo $infos_contact['permanence_telephonique']['title'] ?></h4>
|
||||
<p><?php echo $infos_contact['permanence_telephonique']['text'] ?></p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user