Emploi
Entreprise
Footer
General wording
Header
Presse
Ressources
Sections
Wording Emploi
Emploi
<?php
$data_emploi = get_field('data_emploi');
$reference = get_field('reference');
$background_image = get_field('background_image');
$missions = get_field('missions');
$presentation = get_field('presentation');
?>
<?php if ($reference){ ?><?php echo $reference; ?><?php } ?>
<?php if ($background_image){$image = '';}
$image = $background_image;
if( !empty($image) ){$size = 'thumbnail';}
$thumb = '';
$width = '';
$height = '';
$thumb = $image['sizes'][$size];
$width = $image['sizes'][$size . '-width'];
$height = $image['sizes'][$size . '-height'];
$alt_text = get_post_meta($image['ID'] , '_wp_attachment_image_alt', true);
?>
<img class='' alt='<?php echo $alt_text; ?>' width='<?php echo $width; ?>' height='<?php echo $height; ?>' src='<?php echo $thumb; ?>'/>
<?php
?>
<?php if ($missions){ ?><?php echo $missions; ?><?php } ?>
<?php if ($presentation){ ?><?php echo $presentation; ?><?php } ?>