Blog article
Emploi
Entreprise
Footer
General wording
Header
Presse
Ressources
Sections
Wording Emploi

Header

		
<?php
$first_level = get_field('first_level');
?>
<?php
if ($first_level) {
foreach ($first_level as $first_level_value) {
$link_or_title = $first_level_value['link_or_title'];
$title = $first_level_value['title'];
$second_level = $first_level_value['second_level'];
$link = $first_level_value['link'];
?>
<?php if ($link_or_title){ ?>
<?php } ?>
<?php if ($title){ ?>
<?php echo $title; ?>
<?php } ?>
<?php
if ($second_level) {
foreach ($second_level as $second_level_value) {
$link = $second_level_value['link'];
$third_level_bool = $second_level_value['third_level_bool'];
$third_level = $second_level_value['third_level'];
?>
<?php if ($link){
$link_url = $link["url"];
$link_title = $link["title"];
$link_target = $link["target"] ? $link["target"] : "_self" ; ?>
<a class="" title="<?= esc_html($link_title);?>" href="<?= esc_url($link_url) ?>" target="<?= esc_attr($link_target) ?>" ><?= esc_html($link_title) ?></a>
<?php } ?>
<?php if ($third_level_bool){ ?>
<?php } ?>
<?php
if ($third_level) {
foreach ($third_level as $third_level_value) {
$link = $third_level_value['link'];
?>
<?php if ($link){
$link_url = $link["url"];
$link_title = $link["title"];
$link_target = $link["target"] ? $link["target"] : "_self" ; ?>
<a class="" title="<?= esc_html($link_title);?>" href="<?= esc_url($link_url) ?>" target="<?= esc_attr($link_target) ?>" ><?= esc_html($link_title) ?></a>
<?php } ?>
<?php
}
}
?>
<?php
}
}
?>
<?php if ($link){
$link_url = $link["url"];
$link_title = $link["title"];
$link_target = $link["target"] ? $link["target"] : "_self" ; ?>
<a class="" title="<?= esc_html($link_title);?>" href="<?= esc_url($link_url) ?>" target="<?= esc_attr($link_target) ?>" ><?= esc_html($link_title) ?></a>
<?php } ?>
<?php
}
}
?>