phpbcf du theme
This commit is contained in:
parent
d077b95e9a
commit
7ea0fe54fe
38 changed files with 2017 additions and 1923 deletions
|
|
@ -1,20 +1,21 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Actualites EN Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
||||
|
||||
<?php
|
||||
$paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1;
|
||||
$paged = ( get_query_var('paged') ) ? absint(get_query_var('paged')) : 1;
|
||||
$args = array( 'post_type' => 'post', 'posts_per_page' => 4, 'paged' => $paged, );
|
||||
$loop = new WP_Query( $args );
|
||||
?>
|
||||
$loop = new WP_Query($args);
|
||||
?>
|
||||
<main id="main">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Home</a></li>
|
||||
<li>Our news</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
@ -33,10 +34,10 @@ $loop = new WP_Query( $args );
|
|||
<div class="img-text-holder actu-item">
|
||||
<div class="img-side">
|
||||
<?php if (get_field('code_dintegration_video') != '') {
|
||||
the_field('code_dintegration_video');
|
||||
} else {
|
||||
the_post_thumbnail('medium-large');
|
||||
} ?>
|
||||
the_field('code_dintegration_video');
|
||||
} else {
|
||||
the_post_thumbnail('medium-large');
|
||||
} ?>
|
||||
</div>
|
||||
<div class="text-side">
|
||||
<h6><?php the_title(); ?></h6>
|
||||
|
|
@ -54,15 +55,17 @@ $loop = new WP_Query( $args );
|
|||
<?php
|
||||
$big = 999999999; // need an unlikely integer
|
||||
|
||||
echo paginate_links( array(
|
||||
'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
|
||||
echo paginate_links(
|
||||
array(
|
||||
'base' => str_replace($big, '%#%', esc_url(get_pagenum_link($big))),
|
||||
'format' => '?paged=%#%',
|
||||
'current' => max( 1, get_query_var('paged') ),
|
||||
'current' => max(1, get_query_var('paged')),
|
||||
'total' => $loop->max_num_pages,
|
||||
'prev_next' => false,
|
||||
|
||||
) );
|
||||
?>
|
||||
)
|
||||
);
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,20 +1,21 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Actualites Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
||||
|
||||
<?php
|
||||
$paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1;
|
||||
$paged = ( get_query_var('paged') ) ? absint(get_query_var('paged')) : 1;
|
||||
$args = array( 'post_type' => 'post', 'posts_per_page' => 4, 'paged' => $paged, );
|
||||
$loop = new WP_Query( $args );
|
||||
?>
|
||||
$loop = new WP_Query($args);
|
||||
?>
|
||||
<main id="main">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Accueil</a></li>
|
||||
<li>Nos actualités</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
@ -33,10 +34,10 @@ $loop = new WP_Query( $args );
|
|||
<div class="img-text-holder actu-item">
|
||||
<div class="img-side">
|
||||
<?php if (get_field('code_dintegration_video') != '') {
|
||||
the_field('code_dintegration_video');
|
||||
} else {
|
||||
the_post_thumbnail('medium-large');
|
||||
} ?>
|
||||
the_field('code_dintegration_video');
|
||||
} else {
|
||||
the_post_thumbnail('medium-large');
|
||||
} ?>
|
||||
</div>
|
||||
<div class="text-side">
|
||||
<h6><?php the_title(); ?></h6>
|
||||
|
|
@ -54,15 +55,17 @@ $loop = new WP_Query( $args );
|
|||
<?php
|
||||
$big = 999999999; // need an unlikely integer
|
||||
|
||||
echo paginate_links( array(
|
||||
'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
|
||||
echo paginate_links(
|
||||
array(
|
||||
'base' => str_replace($big, '%#%', esc_url(get_pagenum_link($big))),
|
||||
'format' => '?paged=%#%',
|
||||
'current' => max( 1, get_query_var('paged') ),
|
||||
'current' => max(1, get_query_var('paged')),
|
||||
'total' => $loop->max_num_pages,
|
||||
'prev_next' => false,
|
||||
|
||||
) );
|
||||
?>
|
||||
)
|
||||
);
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
header('Location: '.home_url('/'));
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,122 +1,123 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Contact EN Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
if( 'POST' == $_SERVER['REQUEST_METHOD'] && !empty( $_POST['action'] ) && $_POST['action'] == "message_conso"){
|
||||
$taille_maxi = 3145728; // MAX_FILE_SIZE = 3Mo
|
||||
$validExtensions = array('.jpg', '.jpeg', '.png','.pdf');
|
||||
$rnd = rand(1, 100);
|
||||
$pj = array();
|
||||
if('POST' == $_SERVER['REQUEST_METHOD'] && !empty($_POST['action']) && $_POST['action'] == "message_conso") {
|
||||
$taille_maxi = 3145728; // MAX_FILE_SIZE = 3Mo
|
||||
$validExtensions = array('.jpg', '.jpeg', '.png','.pdf');
|
||||
$rnd = rand(1, 100);
|
||||
$pj = array();
|
||||
|
||||
$upload_dir = wp_upload_dir();
|
||||
$pjFolder = WP_CONTENT_DIR.'/'."pj/" ;
|
||||
$upload_dir = wp_upload_dir();
|
||||
$pjFolder = WP_CONTENT_DIR.'/'."pj/" ;
|
||||
|
||||
$civilite = htmlspecialchars($_POST['civilite']);
|
||||
$nom = htmlspecialchars($_POST['nom']);
|
||||
$prenom = htmlspecialchars($_POST['prenom']);
|
||||
$email = htmlspecialchars($_POST['email']);
|
||||
$telephone = htmlspecialchars($_POST['telephone']);
|
||||
$adresse = htmlspecialchars($_POST['adresse']);
|
||||
$cp = htmlspecialchars($_POST['cp']);
|
||||
$ville = htmlspecialchars($_POST['ville']);
|
||||
$type = htmlspecialchars($_POST['contacttype']);
|
||||
$message = htmlspecialchars($_POST['message']);
|
||||
if(isset($_POST['g-recaptcha-response'])){
|
||||
$key = "6LdCuTQUAAAAALJ_1ZSa46Bd2TTCWi186yy2w09C";
|
||||
$secret = "6LdCuTQUAAAAALjD2gh_Aqos348_bRQEtBiDIy82";
|
||||
if(isset($_SERVER["HTTP_X_FORWARDED_FOR"]) && $_SERVER["HTTP_X_FORWARDED_FOR"] != ""){
|
||||
if (strpos($_SERVER['HTTP_X_FORWARDED_FOR'], ',')) {
|
||||
$explode = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']);
|
||||
$remoteip = trim($explode[0]);
|
||||
}else{
|
||||
$remoteip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
||||
}
|
||||
}else{
|
||||
$remoteip = $_SERVER["REMOTE_ADDR"];
|
||||
}
|
||||
|
||||
|
||||
$response = $_POST['g-recaptcha-response'];
|
||||
$api_url = "https://www.google.com/recaptcha/api/siteverify?secret=". $secret. "&response=" . $response. "&remoteip=" . $remoteip ;
|
||||
$decode = json_decode(file_get_contents($api_url), true);
|
||||
if ($decode['success'] == true) {
|
||||
if($nom != "" && $prenom != "" && $email != "" && $adresse != "" && $cp !="" && $ville !=""){
|
||||
$nonce = $_POST['token'];
|
||||
if ( ! wp_verify_nonce( $nonce, 'contact-nonce' ) ){
|
||||
$errorMsg = "Une erreur est survenue, merci de recommencer.";
|
||||
} else {
|
||||
// ---- Contrôle pièce jointe
|
||||
$finalFileName = "";
|
||||
if(isset($_FILES['piecejointe']) && $_FILES['piecejointe']['error'] == 0 ){
|
||||
$fileName = $_FILES['piecejointe']['name'];
|
||||
$tmpFileName = $_FILES['piecejointe']['tmp_name'];
|
||||
$fileExtension = strtolower(strrchr($fileName, "."));
|
||||
$fileSize = filesize($tmpFileName);
|
||||
$finalFileName = "SBV_MESSAGE-PJ-".date ("YmdHis").$rnd.$fileExtension ;
|
||||
$supported_mime_type = array('image/jpeg', 'image/png', 'application/pdf');
|
||||
$finfo = finfo_open(FILEINFO_MIME_TYPE); // return mime-type extension
|
||||
$ftype = finfo_file($finfo, $tmpFileName);
|
||||
finfo_close($finfo);
|
||||
|
||||
if($fileSize <= $taille_maxi && in_array($fileExtension, $validExtensions) && in_array($ftype,$supported_mime_type)){
|
||||
move_uploaded_file($tmpFileName, $pjFolder.$finalFileName);
|
||||
$pj[] = $pjFolder.$finalFileName;
|
||||
}else{
|
||||
$errorMsg = "La taille de votre pièce jointe ne doit pas dépasser les 3Mo. Merci de recommencer.";
|
||||
}
|
||||
$civilite = htmlspecialchars($_POST['civilite']);
|
||||
$nom = htmlspecialchars($_POST['nom']);
|
||||
$prenom = htmlspecialchars($_POST['prenom']);
|
||||
$email = htmlspecialchars($_POST['email']);
|
||||
$telephone = htmlspecialchars($_POST['telephone']);
|
||||
$adresse = htmlspecialchars($_POST['adresse']);
|
||||
$cp = htmlspecialchars($_POST['cp']);
|
||||
$ville = htmlspecialchars($_POST['ville']);
|
||||
$type = htmlspecialchars($_POST['contacttype']);
|
||||
$message = htmlspecialchars($_POST['message']);
|
||||
if(isset($_POST['g-recaptcha-response'])) {
|
||||
$key = "6LdCuTQUAAAAALJ_1ZSa46Bd2TTCWi186yy2w09C";
|
||||
$secret = "6LdCuTQUAAAAALjD2gh_Aqos348_bRQEtBiDIy82";
|
||||
if(isset($_SERVER["HTTP_X_FORWARDED_FOR"]) && $_SERVER["HTTP_X_FORWARDED_FOR"] != "") {
|
||||
if (strpos($_SERVER['HTTP_X_FORWARDED_FOR'], ',')) {
|
||||
$explode = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']);
|
||||
$remoteip = trim($explode[0]);
|
||||
}else{
|
||||
$remoteip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
||||
}
|
||||
|
||||
switch ($type) {
|
||||
case 'recrutement':
|
||||
$tt = "Recrutement";
|
||||
break;
|
||||
case 'besoin-commercial':
|
||||
$tt = "Besoin Commercial";
|
||||
break;
|
||||
case 'relation-presse':
|
||||
$tt = "Relation Presse";
|
||||
break;
|
||||
case 'autre-demande':
|
||||
$tt = "Autre Demande";
|
||||
break;
|
||||
default:
|
||||
$tt = "";
|
||||
break;
|
||||
}
|
||||
//------ Envoi Mail aux contacts Passerelle
|
||||
$bodyMail = "<html><head></head><body>";
|
||||
$bodyMail .= "Bonjour,<br/>";
|
||||
$bodyMail .= "Un nouveau message consommateur a été renseigné : <br/>";
|
||||
$bodyMail .= "Civilité :".$civilite."<br/>";
|
||||
$bodyMail .= "Nom :".$nom."<br/>";
|
||||
$bodyMail .= "Prénom :".$prenom."<br/>";
|
||||
$bodyMail .= "Email :".$email."<br/>";
|
||||
$bodyMail .= "Tél :".$telephone."<br/>";
|
||||
$bodyMail .= "Adresse :".$adresse."<br/>";
|
||||
$bodyMail .= "Code Postal :".$cp."<br/>";
|
||||
$bodyMail .= "Ville :".$ville."<br/><br/>";
|
||||
$bodyMail .= "Type de message :".$tt."<br/><br/>";
|
||||
$bodyMail .= "Message :".$message."<br/>";
|
||||
$bodyMail .= "</body></html>";
|
||||
$subject = "Nouveau message du site SBV";
|
||||
wp_mail(array(CONTACT_MAIL), $subject, $bodyMail, "", $pj);
|
||||
|
||||
$envoiDone = true;
|
||||
|
||||
}else{
|
||||
$remoteip = $_SERVER["REMOTE_ADDR"];
|
||||
}
|
||||
} else {
|
||||
$errorMsg = "Merci de compléter tous les champs du formulaire.";
|
||||
}
|
||||
|
||||
|
||||
$response = $_POST['g-recaptcha-response'];
|
||||
$api_url = "https://www.google.com/recaptcha/api/siteverify?secret=". $secret. "&response=" . $response. "&remoteip=" . $remoteip ;
|
||||
$decode = json_decode(file_get_contents($api_url), true);
|
||||
if ($decode['success'] == true) {
|
||||
if($nom != "" && $prenom != "" && $email != "" && $adresse != "" && $cp !="" && $ville !="") {
|
||||
$nonce = $_POST['token'];
|
||||
if (! wp_verify_nonce($nonce, 'contact-nonce') ) {
|
||||
$errorMsg = "Une erreur est survenue, merci de recommencer.";
|
||||
} else {
|
||||
// ---- Contrôle pièce jointe
|
||||
$finalFileName = "";
|
||||
if(isset($_FILES['piecejointe']) && $_FILES['piecejointe']['error'] == 0 ) {
|
||||
$fileName = $_FILES['piecejointe']['name'];
|
||||
$tmpFileName = $_FILES['piecejointe']['tmp_name'];
|
||||
$fileExtension = strtolower(strrchr($fileName, "."));
|
||||
$fileSize = filesize($tmpFileName);
|
||||
$finalFileName = "SBV_MESSAGE-PJ-".date("YmdHis").$rnd.$fileExtension ;
|
||||
$supported_mime_type = array('image/jpeg', 'image/png', 'application/pdf');
|
||||
$finfo = finfo_open(FILEINFO_MIME_TYPE); // return mime-type extension
|
||||
$ftype = finfo_file($finfo, $tmpFileName);
|
||||
finfo_close($finfo);
|
||||
|
||||
if($fileSize <= $taille_maxi && in_array($fileExtension, $validExtensions) && in_array($ftype, $supported_mime_type)) {
|
||||
move_uploaded_file($tmpFileName, $pjFolder.$finalFileName);
|
||||
$pj[] = $pjFolder.$finalFileName;
|
||||
}else{
|
||||
$errorMsg = "La taille de votre pièce jointe ne doit pas dépasser les 3Mo. Merci de recommencer.";
|
||||
}
|
||||
}
|
||||
|
||||
switch ($type) {
|
||||
case 'recrutement':
|
||||
$tt = "Recrutement";
|
||||
break;
|
||||
case 'besoin-commercial':
|
||||
$tt = "Besoin Commercial";
|
||||
break;
|
||||
case 'relation-presse':
|
||||
$tt = "Relation Presse";
|
||||
break;
|
||||
case 'autre-demande':
|
||||
$tt = "Autre Demande";
|
||||
break;
|
||||
default:
|
||||
$tt = "";
|
||||
break;
|
||||
}
|
||||
//------ Envoi Mail aux contacts Passerelle
|
||||
$bodyMail = "<html><head></head><body>";
|
||||
$bodyMail .= "Bonjour,<br/>";
|
||||
$bodyMail .= "Un nouveau message consommateur a été renseigné : <br/>";
|
||||
$bodyMail .= "Civilité :".$civilite."<br/>";
|
||||
$bodyMail .= "Nom :".$nom."<br/>";
|
||||
$bodyMail .= "Prénom :".$prenom."<br/>";
|
||||
$bodyMail .= "Email :".$email."<br/>";
|
||||
$bodyMail .= "Tél :".$telephone."<br/>";
|
||||
$bodyMail .= "Adresse :".$adresse."<br/>";
|
||||
$bodyMail .= "Code Postal :".$cp."<br/>";
|
||||
$bodyMail .= "Ville :".$ville."<br/><br/>";
|
||||
$bodyMail .= "Type de message :".$tt."<br/><br/>";
|
||||
$bodyMail .= "Message :".$message."<br/>";
|
||||
$bodyMail .= "</body></html>";
|
||||
$subject = "Nouveau message du site SBV";
|
||||
wp_mail(array(CONTACT_MAIL), $subject, $bodyMail, "", $pj);
|
||||
|
||||
$envoiDone = true;
|
||||
|
||||
}
|
||||
} else {
|
||||
$errorMsg = "Merci de compléter tous les champs du formulaire.";
|
||||
}
|
||||
} else {
|
||||
$errorMsg = "Merci de valider la captcha en bas du formulaire.";
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
$errorMsg = "Merci de valider la captcha en bas du formulaire.";
|
||||
$errorMsg = "Merci de valider la captcha en bas du formulaire.";
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
$errorMsg = "Merci de valider la captcha en bas du formulaire.";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -126,7 +127,7 @@ get_header(); ?>
|
|||
<main id="main">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Home</a></li>
|
||||
<li>Contact us</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
@ -140,7 +141,7 @@ get_header(); ?>
|
|||
</div>
|
||||
<section class="text-content formSbv">
|
||||
<div class="container">
|
||||
<?php if(isset($envoiDone) && $envoiDone){ ?>
|
||||
<?php if(isset($envoiDone) && $envoiDone) { ?>
|
||||
<div id='msgSent'>
|
||||
<p>Your message has been sent.</p>
|
||||
<p>We will respond as soon as possible</p>
|
||||
|
|
@ -196,7 +197,7 @@ get_header(); ?>
|
|||
<span class="filepath"></span>
|
||||
</p>
|
||||
</div>
|
||||
<input type="hidden" name="token" value="<?php echo wp_create_nonce( 'contact-nonce' ); ?>">
|
||||
<input type="hidden" name="token" value="<?php echo wp_create_nonce('contact-nonce'); ?>">
|
||||
<input type="hidden" name="action" value="message_conso">
|
||||
<div class="g-recaptcha mobile" data-size="normal" data-sitekey="6LdCuTQUAAAAALJ_1ZSa46Bd2TTCWi186yy2w09C"></div>
|
||||
<p class="submit-p">
|
||||
|
|
@ -258,7 +259,7 @@ get_header(); ?>
|
|||
<p class="adressCompany">Z.I. de Bellevue<br/>29, avenue de l’Hippodrome<br/>22 200 - Saint-Agathon</p>
|
||||
<p class="italiqueCompany">Tel : +33 (0)2 96 11 83 00<br/>Fax : +33 (0)2 96 11 83 20<br/>info@farmor.fr<br/><a href="http://www.farmor.fr" target='_blank'>www.farmor.fr</a></p>
|
||||
</div>
|
||||
<div class="companies onlyDesktop">
|
||||
<div class="companies onlyDesktop">
|
||||
<p class="nameCompany"></p>
|
||||
<p class="adressCompany"></p>
|
||||
<p class="italiqueCompany"></p>
|
||||
|
|
@ -280,57 +281,57 @@ get_header(); ?>
|
|||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
jQuery("form[name='serviceconsoform']").validate({
|
||||
rules: {
|
||||
civilite : {
|
||||
required:true,
|
||||
},
|
||||
nom: {
|
||||
required: true,
|
||||
},
|
||||
prenom: {
|
||||
required: true,
|
||||
},
|
||||
email: {
|
||||
required: true,
|
||||
email: true,
|
||||
},
|
||||
adresse:{
|
||||
required: true,
|
||||
},
|
||||
cp:{
|
||||
required: true,
|
||||
},
|
||||
ville:{
|
||||
required: true,
|
||||
},
|
||||
contacttype : {
|
||||
required: true,
|
||||
},
|
||||
message: {
|
||||
required:true,
|
||||
},
|
||||
},
|
||||
messages: {
|
||||
civilite: "Please fill up the civility field",
|
||||
prenom: "Please fill up the firstname field",
|
||||
nom: "Please fill up the lastname field",
|
||||
adresse: "Please fill up the adress field",
|
||||
cp: "Please fill up the postal code field",
|
||||
ville: "Please fill up the city field",
|
||||
email:{
|
||||
required: "Please fill up the e-mail adress field",
|
||||
email: "Your email adress is not valid"
|
||||
},
|
||||
contacttype: "Please select a message type",
|
||||
message: "Your message can't be empty",
|
||||
},
|
||||
errorContainer: "#error-msg",
|
||||
errorLabelContainer: "#error-msg ul",
|
||||
wrapper: "li",
|
||||
submitHandler: function(form) {
|
||||
form.submit();
|
||||
}
|
||||
});
|
||||
rules: {
|
||||
civilite : {
|
||||
required:true,
|
||||
},
|
||||
nom: {
|
||||
required: true,
|
||||
},
|
||||
prenom: {
|
||||
required: true,
|
||||
},
|
||||
email: {
|
||||
required: true,
|
||||
email: true,
|
||||
},
|
||||
adresse:{
|
||||
required: true,
|
||||
},
|
||||
cp:{
|
||||
required: true,
|
||||
},
|
||||
ville:{
|
||||
required: true,
|
||||
},
|
||||
contacttype : {
|
||||
required: true,
|
||||
},
|
||||
message: {
|
||||
required:true,
|
||||
},
|
||||
},
|
||||
messages: {
|
||||
civilite: "Please fill up the civility field",
|
||||
prenom: "Please fill up the firstname field",
|
||||
nom: "Please fill up the lastname field",
|
||||
adresse: "Please fill up the adress field",
|
||||
cp: "Please fill up the postal code field",
|
||||
ville: "Please fill up the city field",
|
||||
email:{
|
||||
required: "Please fill up the e-mail adress field",
|
||||
email: "Your email adress is not valid"
|
||||
},
|
||||
contacttype: "Please select a message type",
|
||||
message: "Your message can't be empty",
|
||||
},
|
||||
errorContainer: "#error-msg",
|
||||
errorLabelContainer: "#error-msg ul",
|
||||
wrapper: "li",
|
||||
submitHandler: function(form) {
|
||||
form.submit();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src='https://www.google.com/recaptcha/api.js'></script>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Contact Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
|
|
@ -9,7 +10,7 @@
|
|||
|
||||
|
||||
|
||||
if( 'POST' == $_SERVER['REQUEST_METHOD'] && !empty( $_POST['action'] ) && $_POST['action'] == "message_conso"){
|
||||
if('POST' == $_SERVER['REQUEST_METHOD'] && !empty($_POST['action']) && $_POST['action'] == "message_conso") {
|
||||
$taille_maxi = 3145728; // MAX_FILE_SIZE = 3Mo
|
||||
$validExtensions = array('.jpg', '.jpeg', '.png','.pdf');
|
||||
$rnd = rand(1, 100);
|
||||
|
|
@ -28,18 +29,18 @@ if( 'POST' == $_SERVER['REQUEST_METHOD'] && !empty( $_POST['action'] ) && $_POS
|
|||
$ville = htmlspecialchars($_POST['ville']);
|
||||
$type = htmlspecialchars($_POST['contacttype']);
|
||||
$message = htmlspecialchars($_POST['message']);
|
||||
if(isset($_POST['g-recaptcha-response'])){
|
||||
if(isset($_POST['g-recaptcha-response'])) {
|
||||
$key = "6LdCuTQUAAAAALJ_1ZSa46Bd2TTCWi186yy2w09C";
|
||||
$secret = "6LdCuTQUAAAAALjD2gh_Aqos348_bRQEtBiDIy82";
|
||||
if(isset($_SERVER["HTTP_X_FORWARDED_FOR"]) && $_SERVER["HTTP_X_FORWARDED_FOR"] != ""){
|
||||
if (strpos($_SERVER['HTTP_X_FORWARDED_FOR'], ',')) {
|
||||
$explode = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']);
|
||||
$remoteip = trim($explode[0]);
|
||||
}else{
|
||||
$remoteip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
||||
}
|
||||
if(isset($_SERVER["HTTP_X_FORWARDED_FOR"]) && $_SERVER["HTTP_X_FORWARDED_FOR"] != "") {
|
||||
if (strpos($_SERVER['HTTP_X_FORWARDED_FOR'], ',')) {
|
||||
$explode = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']);
|
||||
$remoteip = trim($explode[0]);
|
||||
}else{
|
||||
$remoteip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
||||
}
|
||||
}else{
|
||||
$remoteip = $_SERVER["REMOTE_ADDR"];
|
||||
$remoteip = $_SERVER["REMOTE_ADDR"];
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -47,81 +48,81 @@ if( 'POST' == $_SERVER['REQUEST_METHOD'] && !empty( $_POST['action'] ) && $_POS
|
|||
$api_url = "https://www.google.com/recaptcha/api/siteverify?secret=". $secret. "&response=" . $response. "&remoteip=" . $remoteip ;
|
||||
$decode = json_decode(file_get_contents($api_url), true);
|
||||
if ($decode['success'] == true) {
|
||||
if($nom != "" && $prenom != "" && $email != "" && $adresse != "" && $cp !="" && $ville !=""){
|
||||
$nonce = $_POST['token'];
|
||||
if ( ! wp_verify_nonce( $nonce, 'contact-nonce' ) ){
|
||||
$errorMsg = "Une erreur est survenue, merci de recommencer.";
|
||||
} else {
|
||||
// ---- Contrôle pièce jointe
|
||||
$finalFileName = "";
|
||||
if(isset($_FILES['piecejointe']) && $_FILES['piecejointe']['error'] == 0 ){
|
||||
$fileName = $_FILES['piecejointe']['name'];
|
||||
$tmpFileName = $_FILES['piecejointe']['tmp_name'];
|
||||
$fileExtension = strtolower(strrchr($fileName, "."));
|
||||
$fileSize = filesize($tmpFileName);
|
||||
$finalFileName = "SBV_MESSAGE-PJ-".date ("YmdHis").$rnd.$fileExtension ;
|
||||
$supported_mime_type = array('image/jpeg', 'image/png', 'application/pdf');
|
||||
$finfo = finfo_open(FILEINFO_MIME_TYPE); // return mime-type extension
|
||||
$ftype = finfo_file($finfo, $tmpFileName);
|
||||
finfo_close($finfo);
|
||||
if($nom != "" && $prenom != "" && $email != "" && $adresse != "" && $cp !="" && $ville !="") {
|
||||
$nonce = $_POST['token'];
|
||||
if (! wp_verify_nonce($nonce, 'contact-nonce') ) {
|
||||
$errorMsg = "Une erreur est survenue, merci de recommencer.";
|
||||
} else {
|
||||
// ---- Contrôle pièce jointe
|
||||
$finalFileName = "";
|
||||
if(isset($_FILES['piecejointe']) && $_FILES['piecejointe']['error'] == 0 ) {
|
||||
$fileName = $_FILES['piecejointe']['name'];
|
||||
$tmpFileName = $_FILES['piecejointe']['tmp_name'];
|
||||
$fileExtension = strtolower(strrchr($fileName, "."));
|
||||
$fileSize = filesize($tmpFileName);
|
||||
$finalFileName = "SBV_MESSAGE-PJ-".date("YmdHis").$rnd.$fileExtension ;
|
||||
$supported_mime_type = array('image/jpeg', 'image/png', 'application/pdf');
|
||||
$finfo = finfo_open(FILEINFO_MIME_TYPE); // return mime-type extension
|
||||
$ftype = finfo_file($finfo, $tmpFileName);
|
||||
finfo_close($finfo);
|
||||
|
||||
if($fileSize <= $taille_maxi && in_array($fileExtension, $validExtensions) && in_array($ftype,$supported_mime_type)){
|
||||
move_uploaded_file($tmpFileName, $pjFolder.$finalFileName);
|
||||
$pj[] = $pjFolder.$finalFileName;
|
||||
}else{
|
||||
$errorMsg = "La taille de votre pièce jointe ne doit pas dépasser les 3Mo. Merci de recommencer.";
|
||||
if($fileSize <= $taille_maxi && in_array($fileExtension, $validExtensions) && in_array($ftype, $supported_mime_type)) {
|
||||
move_uploaded_file($tmpFileName, $pjFolder.$finalFileName);
|
||||
$pj[] = $pjFolder.$finalFileName;
|
||||
}else{
|
||||
$errorMsg = "La taille de votre pièce jointe ne doit pas dépasser les 3Mo. Merci de recommencer.";
|
||||
}
|
||||
}
|
||||
|
||||
switch ($type) {
|
||||
case 'recrutement':
|
||||
$tt = "Recrutement";
|
||||
break;
|
||||
case 'besoin-commercial':
|
||||
$tt = "Besoin Commercial";
|
||||
break;
|
||||
case 'relation-presse':
|
||||
$tt = "Relation Presse";
|
||||
break;
|
||||
case 'autre-demande':
|
||||
$tt = "Autre Demande";
|
||||
break;
|
||||
default:
|
||||
$tt = "";
|
||||
break;
|
||||
}
|
||||
//------ Envoi Mail aux contacts Passerelle
|
||||
$bodyMail = "<html><head></head><body>";
|
||||
$bodyMail .= "Bonjour,<br/>";
|
||||
$bodyMail .= "Un nouveau message consommateur a été renseigné : <br/>";
|
||||
$bodyMail .= "Civilité :".$civilite."<br/>";
|
||||
$bodyMail .= "Nom :".$nom."<br/>";
|
||||
$bodyMail .= "Prénom :".$prenom."<br/>";
|
||||
$bodyMail .= "Email :".$email."<br/>";
|
||||
$bodyMail .= "Tél :".$telephone."<br/>";
|
||||
$bodyMail .= "Adresse :".$adresse."<br/>";
|
||||
$bodyMail .= "Code Postal :".$cp."<br/>";
|
||||
$bodyMail .= "Ville :".$ville."<br/><br/>";
|
||||
$bodyMail .= "Type de Message :".$tt."<br/><br/>";
|
||||
$bodyMail .= "Message :<br/>".$message."<br/>";
|
||||
$bodyMail .= "</body></html>";
|
||||
$subject = "Nouveau message du site SBV";
|
||||
wp_mail(array(CONTACT_MAIL), $subject, $bodyMail, "", $pj);
|
||||
|
||||
$envoiDone = true;
|
||||
|
||||
}
|
||||
|
||||
switch ($type) {
|
||||
case 'recrutement':
|
||||
$tt = "Recrutement";
|
||||
break;
|
||||
case 'besoin-commercial':
|
||||
$tt = "Besoin Commercial";
|
||||
break;
|
||||
case 'relation-presse':
|
||||
$tt = "Relation Presse";
|
||||
break;
|
||||
case 'autre-demande':
|
||||
$tt = "Autre Demande";
|
||||
break;
|
||||
default:
|
||||
$tt = "";
|
||||
break;
|
||||
}
|
||||
//------ Envoi Mail aux contacts Passerelle
|
||||
$bodyMail = "<html><head></head><body>";
|
||||
$bodyMail .= "Bonjour,<br/>";
|
||||
$bodyMail .= "Un nouveau message consommateur a été renseigné : <br/>";
|
||||
$bodyMail .= "Civilité :".$civilite."<br/>";
|
||||
$bodyMail .= "Nom :".$nom."<br/>";
|
||||
$bodyMail .= "Prénom :".$prenom."<br/>";
|
||||
$bodyMail .= "Email :".$email."<br/>";
|
||||
$bodyMail .= "Tél :".$telephone."<br/>";
|
||||
$bodyMail .= "Adresse :".$adresse."<br/>";
|
||||
$bodyMail .= "Code Postal :".$cp."<br/>";
|
||||
$bodyMail .= "Ville :".$ville."<br/><br/>";
|
||||
$bodyMail .= "Type de Message :".$tt."<br/><br/>";
|
||||
$bodyMail .= "Message :<br/>".$message."<br/>";
|
||||
$bodyMail .= "</body></html>";
|
||||
$subject = "Nouveau message du site SBV";
|
||||
wp_mail(array(CONTACT_MAIL), $subject, $bodyMail, "", $pj);
|
||||
|
||||
$envoiDone = true;
|
||||
|
||||
} else {
|
||||
$errorMsg = "Merci de compléter tous les champs du formulaire.";
|
||||
}
|
||||
} else {
|
||||
$errorMsg = "Merci de compléter tous les champs du formulaire.";
|
||||
}
|
||||
} else {
|
||||
$errorMsg = "Merci de valider la captcha en bas du formulaire.";
|
||||
$errorMsg = "Merci de valider la captcha en bas du formulaire.";
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
$errorMsg = "Merci de valider la captcha en bas du formulaire.";
|
||||
}
|
||||
} else {
|
||||
$errorMsg = "Merci de valider la captcha en bas du formulaire.";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -133,7 +134,7 @@ get_header(); ?>
|
|||
<main id="main">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Accueil</a></li>
|
||||
<li>Contact</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
@ -147,13 +148,13 @@ get_header(); ?>
|
|||
</div>
|
||||
<section class="text-content formSbv">
|
||||
<div class="container">
|
||||
<?php if(isset($envoiDone) && $envoiDone){ ?>
|
||||
<?php if(isset($envoiDone) && $envoiDone) { ?>
|
||||
<div id='msgSent'>
|
||||
<p>Votre message a bien été envoyé.</p>
|
||||
<p>Nous y répondrons dès que possible</p>
|
||||
<p>Merci et à bientot</p>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<?php } else { ?>
|
||||
<form method="post" enctype="multipart/form-data" name="serviceconsoform" class="ninja-forms-all-fields-wrap">
|
||||
<p class="required_field" style="padding:10px 0; width:100%; text-align:right;">* Champs obligatoire</p>
|
||||
<div id="error-msg" class="error-msg" style="display:none;"><ul></ul></div>
|
||||
|
|
@ -202,14 +203,14 @@ get_header(); ?>
|
|||
<span class="filepath"></span>
|
||||
</p>
|
||||
</div>
|
||||
<input type="hidden" name="token" value="<?php echo wp_create_nonce( 'contact-nonce' ); ?>">
|
||||
<input type="hidden" name="token" value="<?php echo wp_create_nonce('contact-nonce'); ?>">
|
||||
<input type="hidden" name="action" value="message_conso">
|
||||
<div class="g-recaptcha mobile" data-size="normal" data-sitekey="6LdCuTQUAAAAALJ_1ZSa46Bd2TTCWi186yy2w09C"></div>
|
||||
<p class="submit-p">
|
||||
<input type="submit" value="Envoyer">
|
||||
</p>
|
||||
</form>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</section>
|
||||
<section class="text-content" id="coordonnees">
|
||||
|
|
@ -264,7 +265,7 @@ get_header(); ?>
|
|||
<p class="adressCompany">Z.I. de Bellevue<br/>29, avenue de l’Hippodrome<br/>22 200 - Saint-Agathon</p>
|
||||
<p class="italiqueCompany">Tel : +33 (0)2 96 11 83 00<br/>Fax : +33 (0)2 96 11 83 20<br/>info@farmor.fr<br/><a href="http://www.farmor.fr" target='_blank'>www.farmor.fr</a></p>
|
||||
</div>
|
||||
<div class="companies onlyDesktop">
|
||||
<div class="companies onlyDesktop">
|
||||
<p class="nameCompany"></p>
|
||||
<p class="adressCompany"></p>
|
||||
<p class="italiqueCompany"></p>
|
||||
|
|
@ -286,57 +287,57 @@ get_header(); ?>
|
|||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
jQuery("form[name='serviceconsoform']").validate({
|
||||
rules: {
|
||||
civilite : {
|
||||
required:true,
|
||||
},
|
||||
nom: {
|
||||
required: true,
|
||||
},
|
||||
prenom: {
|
||||
required: true,
|
||||
},
|
||||
email: {
|
||||
required: true,
|
||||
email: true,
|
||||
},
|
||||
adresse:{
|
||||
required: true,
|
||||
},
|
||||
cp:{
|
||||
required: true,
|
||||
},
|
||||
ville:{
|
||||
required: true,
|
||||
},
|
||||
contacttype : {
|
||||
required: true,
|
||||
},
|
||||
message: {
|
||||
required:true,
|
||||
},
|
||||
},
|
||||
messages: {
|
||||
civilite: "Veuillez renseigner votre civilité",
|
||||
prenom: "Veuillez renseigner votre prénom",
|
||||
nom: "Veuillez renseigner votre nom",
|
||||
adresse: "Veuillez renseigner votre adresse",
|
||||
cp: "Veuillez renseigner votre code postal",
|
||||
ville: "Veuillez renseigner votre ville",
|
||||
email:{
|
||||
required: "Veuillez renseigner une adresse mail",
|
||||
email: "Votre adresse mail n'est pas dans un format valide"
|
||||
},
|
||||
contacttype: "Veuillez sélectionner un type de demande",
|
||||
message: "Le message ne peut être vide",
|
||||
},
|
||||
errorContainer: "#error-msg",
|
||||
errorLabelContainer: "#error-msg ul",
|
||||
wrapper: "li",
|
||||
submitHandler: function(form) {
|
||||
form.submit();
|
||||
}
|
||||
});
|
||||
rules: {
|
||||
civilite : {
|
||||
required:true,
|
||||
},
|
||||
nom: {
|
||||
required: true,
|
||||
},
|
||||
prenom: {
|
||||
required: true,
|
||||
},
|
||||
email: {
|
||||
required: true,
|
||||
email: true,
|
||||
},
|
||||
adresse:{
|
||||
required: true,
|
||||
},
|
||||
cp:{
|
||||
required: true,
|
||||
},
|
||||
ville:{
|
||||
required: true,
|
||||
},
|
||||
contacttype : {
|
||||
required: true,
|
||||
},
|
||||
message: {
|
||||
required:true,
|
||||
},
|
||||
},
|
||||
messages: {
|
||||
civilite: "Veuillez renseigner votre civilité",
|
||||
prenom: "Veuillez renseigner votre prénom",
|
||||
nom: "Veuillez renseigner votre nom",
|
||||
adresse: "Veuillez renseigner votre adresse",
|
||||
cp: "Veuillez renseigner votre code postal",
|
||||
ville: "Veuillez renseigner votre ville",
|
||||
email:{
|
||||
required: "Veuillez renseigner une adresse mail",
|
||||
email: "Votre adresse mail n'est pas dans un format valide"
|
||||
},
|
||||
contacttype: "Veuillez sélectionner un type de demande",
|
||||
message: "Le message ne peut être vide",
|
||||
},
|
||||
errorContainer: "#error-msg",
|
||||
errorLabelContainer: "#error-msg ul",
|
||||
wrapper: "li",
|
||||
submitHandler: function(form) {
|
||||
form.submit();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src='https://www.google.com/recaptcha/api.js'></script>
|
||||
|
|
|
|||
|
|
@ -3,19 +3,19 @@
|
|||
}
|
||||
|
||||
p {
|
||||
font-size:1.2em;
|
||||
font-size:1.2em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size:1.5em;
|
||||
font-size:1.5em;
|
||||
}
|
||||
|
||||
#footer {
|
||||
font-size:15px;
|
||||
font-size:15px;
|
||||
}
|
||||
|
||||
#footer .footer-right nav a {
|
||||
font-size:15px;
|
||||
font-size:15px;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -35,12 +35,12 @@ h3 {
|
|||
}
|
||||
|
||||
.ornament-bg .img-text-holder .img-side iframe {
|
||||
display:block;
|
||||
max-width: 546px;
|
||||
height:auto;
|
||||
width:100%;
|
||||
background-color:#000;
|
||||
min-height:413px;
|
||||
display:block;
|
||||
max-width: 546px;
|
||||
height:auto;
|
||||
width:100%;
|
||||
background-color:#000;
|
||||
min-height:413px;
|
||||
align-self:flex-start;
|
||||
position:relative;
|
||||
top:50%;
|
||||
|
|
@ -48,12 +48,12 @@ h3 {
|
|||
}
|
||||
|
||||
.ornament-bg .img-text-holder.actu-item .img-side iframe {
|
||||
background-color: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.ornament-bg .img-text-holder.specvideo .img-side iframe {
|
||||
align-self: auto;
|
||||
min-height: inherit;
|
||||
align-self: auto;
|
||||
min-height: inherit;
|
||||
}
|
||||
|
||||
@media (max-width:767px) {
|
||||
|
|
@ -74,8 +74,8 @@ h3 {
|
|||
}
|
||||
|
||||
.grp-ldc img {
|
||||
flex-shrink:0 !important;
|
||||
max-width: 200px;
|
||||
flex-shrink:0 !important;
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
.grp-ldc div {
|
||||
|
|
@ -141,7 +141,7 @@ h3 {
|
|||
}
|
||||
|
||||
.text-side ul {
|
||||
color: #7d7c7c;
|
||||
color: #7d7c7c;
|
||||
}
|
||||
|
||||
/*------------------Page Histoire de terre---------------------*/
|
||||
|
|
@ -154,10 +154,10 @@ h3 {
|
|||
align-items: center;
|
||||
}
|
||||
@media (max-width: 990px){
|
||||
#coeur02 {
|
||||
width:100%;
|
||||
height: auto;
|
||||
}
|
||||
#coeur02 {
|
||||
width:100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
.bretagneMap{
|
||||
position:relative;
|
||||
|
|
@ -274,45 +274,45 @@ h3 {
|
|||
}
|
||||
|
||||
@media (max-width: 768px){
|
||||
.wellness img {
|
||||
max-width:700px;
|
||||
width:100%;
|
||||
height:auto;
|
||||
}
|
||||
.wellness, .security {
|
||||
display:block;
|
||||
flex-direction: column;
|
||||
}
|
||||
.wellness .wellnessText {
|
||||
margin-top:20px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.imgText .securityText {
|
||||
width:55%;
|
||||
font-size:1.3em;
|
||||
}
|
||||
.wellness img {
|
||||
max-width:700px;
|
||||
width:100%;
|
||||
height:auto;
|
||||
}
|
||||
.wellness, .security {
|
||||
display:block;
|
||||
flex-direction: column;
|
||||
}
|
||||
.wellness .wellnessText {
|
||||
margin-top:20px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.imgText .securityText {
|
||||
width:55%;
|
||||
font-size:1.3em;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px){
|
||||
|
||||
.imgText .securityText {
|
||||
top:10px;
|
||||
left:10px;
|
||||
width:67%;
|
||||
color:#fff;
|
||||
text-transform: uppercase;
|
||||
font-weight:bold;
|
||||
font-size:1.1em;
|
||||
}
|
||||
.imgText .securityText {
|
||||
top:10px;
|
||||
left:10px;
|
||||
width:67%;
|
||||
color:#fff;
|
||||
text-transform: uppercase;
|
||||
font-weight:bold;
|
||||
font-size:1.1em;
|
||||
}
|
||||
|
||||
.wellness .wellnessText p {
|
||||
display:block;
|
||||
font-size:1.2em;
|
||||
text-align: justify;
|
||||
}
|
||||
.security p {
|
||||
text-align:justify;
|
||||
}
|
||||
.wellness .wellnessText p {
|
||||
display:block;
|
||||
font-size:1.2em;
|
||||
text-align: justify;
|
||||
}
|
||||
.security p {
|
||||
text-align:justify;
|
||||
}
|
||||
}
|
||||
|
||||
/*-----------------------Savoir Faire ----------------------*/
|
||||
|
|
@ -321,11 +321,11 @@ h3 {
|
|||
max-width:956px;
|
||||
}
|
||||
.listSavoir ul {
|
||||
padding:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.title-filiere{
|
||||
font-size:1.5em;
|
||||
font-size:1.5em;
|
||||
}
|
||||
.listSavoir ul li {
|
||||
color:#7d7c7c;
|
||||
|
|
@ -334,15 +334,15 @@ h3 {
|
|||
}
|
||||
|
||||
.marked-gold {
|
||||
font-size:1.2em;
|
||||
font-size:1.2em;
|
||||
}
|
||||
|
||||
.bigas {
|
||||
font-size:1.4em;
|
||||
font-size:1.4em;
|
||||
}
|
||||
|
||||
.solution .text-holder strong{
|
||||
text-transform: none !important;
|
||||
text-transform: none !important;
|
||||
}
|
||||
|
||||
.text-content .illustration-block {
|
||||
|
|
@ -366,11 +366,11 @@ h3 {
|
|||
}
|
||||
|
||||
.text-garanties {
|
||||
text-align:left !important;
|
||||
text-align:left !important;
|
||||
}
|
||||
|
||||
.customList ul {
|
||||
padding:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.customList ul li {
|
||||
|
|
@ -387,20 +387,20 @@ h3 {
|
|||
}
|
||||
/*-----------------------Nos solutions---------------------*/
|
||||
.client-section .logo-group .logos-holder {
|
||||
display: -webkit-box !important;
|
||||
display: -webkit-box !important;
|
||||
}
|
||||
.solution .text-holder span {
|
||||
/*font-weight:600;*/
|
||||
/*font-weight:600;*/
|
||||
}
|
||||
|
||||
.specp {
|
||||
margin-bottom:0 !important;
|
||||
margin-bottom:0 !important;
|
||||
}
|
||||
|
||||
.specul {
|
||||
font-size:1.2em;
|
||||
margin-bottom: 15px !important;
|
||||
margin-left:10px !important;
|
||||
font-size:1.2em;
|
||||
margin-bottom: 15px !important;
|
||||
margin-left:10px !important;
|
||||
}
|
||||
|
||||
.owl-item {
|
||||
|
|
@ -422,7 +422,7 @@ h3 {
|
|||
}
|
||||
|
||||
.products .products-carousel .owl-item::after {
|
||||
border:2px solid #d0ae88;
|
||||
border:2px solid #d0ae88;
|
||||
}
|
||||
|
||||
.owl-carousel .owl-stage-outer {
|
||||
|
|
@ -430,11 +430,11 @@ h3 {
|
|||
}
|
||||
|
||||
.products .products-carousel .owl-item {
|
||||
margin-top: 30px !important;
|
||||
margin-top: 30px !important;
|
||||
}
|
||||
|
||||
.products .gallery-title {
|
||||
font-size:30px;
|
||||
font-size:30px;
|
||||
}
|
||||
|
||||
.logos-holder img {
|
||||
|
|
@ -730,29 +730,29 @@ h3 {
|
|||
right:40% !important;
|
||||
}
|
||||
.heading-decoration:after {
|
||||
width:100%;
|
||||
width:100%;
|
||||
}
|
||||
.heading-decoration:before{
|
||||
width:0%;
|
||||
width:0%;
|
||||
}
|
||||
|
||||
.heading-decoration .text:after{
|
||||
width:0;
|
||||
width:0;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px){
|
||||
.ms-bullets {
|
||||
bottom:7% !important;
|
||||
width:120px !important;
|
||||
right:48% !important;
|
||||
}
|
||||
.ms-bullet {
|
||||
background-color : transparent !important;
|
||||
border-color:#FFFFFF !important;
|
||||
border-width: 1px !important;
|
||||
width:12px !important;
|
||||
height:12px !important;
|
||||
}
|
||||
.ms-bullets {
|
||||
bottom:7% !important;
|
||||
width:120px !important;
|
||||
right:48% !important;
|
||||
}
|
||||
.ms-bullet {
|
||||
background-color : transparent !important;
|
||||
border-color:#FFFFFF !important;
|
||||
border-width: 1px !important;
|
||||
width:12px !important;
|
||||
height:12px !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -784,15 +784,15 @@ h3 {
|
|||
}
|
||||
}
|
||||
@media (max-width: 768px){
|
||||
.heading-decoration:after {
|
||||
width:100%;
|
||||
}
|
||||
.heading-decoration:before{
|
||||
width:0%;
|
||||
}
|
||||
.caption-title.specTitle h1 span {
|
||||
font-size:23px;
|
||||
}
|
||||
.heading-decoration:after {
|
||||
width:100%;
|
||||
}
|
||||
.heading-decoration:before{
|
||||
width:0%;
|
||||
}
|
||||
.caption-title.specTitle h1 span {
|
||||
font-size:23px;
|
||||
}
|
||||
#ninja_forms_field_1_div_wrap, #ninja_forms_field_6_div_wrap, #ninja_forms_field_7_div_wrap, #ninja_forms_field_2_div_wrap, #ninja_forms_field_8_div_wrap, #ninja_forms_field_9_div_wrap, #ninja_forms_field_11_div_wrap {
|
||||
width:100%;
|
||||
}
|
||||
|
|
@ -815,219 +815,219 @@ h3 {
|
|||
}
|
||||
.mobileperf01, .mobileperf02 {
|
||||
display:block;
|
||||
margin:auto;
|
||||
margin:auto;
|
||||
}
|
||||
#header .header-top nav {
|
||||
width:175px;
|
||||
width:175px;
|
||||
}
|
||||
|
||||
#header .header-top nav a {
|
||||
color: #FFF;
|
||||
font-size:13px;
|
||||
font-weight: 400;
|
||||
width:100%;
|
||||
color: #FFF;
|
||||
font-size:13px;
|
||||
font-weight: 400;
|
||||
width:100%;
|
||||
}
|
||||
#header .header-top nav a:hover {
|
||||
color: #d0ae88;
|
||||
color: #d0ae88;
|
||||
}
|
||||
#header .header-top nav a:first-child{
|
||||
padding-bottom:17px;
|
||||
border-bottom: 1px solid #d0ae88;
|
||||
padding-bottom:17px;
|
||||
border-bottom: 1px solid #d0ae88;
|
||||
}
|
||||
#header .header-top nav a:nth-child(2){
|
||||
margin-top:16px;
|
||||
padding-bottom:16px;
|
||||
border-bottom: 1px solid #d0ae88;
|
||||
margin-top:16px;
|
||||
padding-bottom:16px;
|
||||
border-bottom: 1px solid #d0ae88;
|
||||
}
|
||||
|
||||
.banner .caption-title h1 {
|
||||
font-size: 23px;
|
||||
font-size: 23px;
|
||||
}
|
||||
|
||||
.grp-ldc {
|
||||
flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
.grp-ldc div {
|
||||
margin:0;
|
||||
margin-top:10px;
|
||||
text-align: justify;
|
||||
margin:0;
|
||||
margin-top:10px;
|
||||
text-align: justify;
|
||||
}
|
||||
p {
|
||||
font-size:1em;
|
||||
text-align: justify;
|
||||
font-size:1em;
|
||||
text-align: justify;
|
||||
}
|
||||
.ms-nav-next {
|
||||
right: 30% !important;
|
||||
right: 30% !important;
|
||||
}
|
||||
.ms-nav-prev {
|
||||
left: 30% !important;
|
||||
left: 30% !important;
|
||||
}
|
||||
|
||||
.image-bg .section-title {
|
||||
font-size:30px;
|
||||
font-size:30px;
|
||||
}
|
||||
|
||||
.image-bg p {
|
||||
font-size:1em;
|
||||
font-size:1em;
|
||||
}
|
||||
|
||||
|
||||
.chicken {
|
||||
right:-14px;
|
||||
max-width:190px;
|
||||
top:20px;
|
||||
right:-14px;
|
||||
max-width:190px;
|
||||
top:20px;
|
||||
}
|
||||
|
||||
.listSavoir ul li {
|
||||
font-size:1em;
|
||||
text-align: justify;
|
||||
font-size:1em;
|
||||
text-align: justify;
|
||||
}
|
||||
.title-filiere {
|
||||
font-size:1.1em;
|
||||
font-size:1.1em;
|
||||
}
|
||||
.marked-gold {
|
||||
font-size: 1.1em;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.marked-gold.bigger {
|
||||
font-size: 1.1em;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.caption-title.specTitle {
|
||||
min-width:250px;
|
||||
min-width:250px;
|
||||
}
|
||||
.caption-title.specTitle h1 span {
|
||||
font-size:23px;
|
||||
font-size:23px;
|
||||
}
|
||||
|
||||
.brand img {
|
||||
width:130px;
|
||||
width:130px;
|
||||
}
|
||||
|
||||
.international{
|
||||
margin-top:15px;
|
||||
margin-top:15px;
|
||||
}
|
||||
.formSbv select {
|
||||
background-color:#FFF !important;
|
||||
font-size:0.8em;
|
||||
background-color:#FFF !important;
|
||||
font-size:0.8em;
|
||||
}
|
||||
#ninja_forms_field_4 {
|
||||
background-color:#FFF !important;
|
||||
background-color:#FFF !important;
|
||||
}
|
||||
.companies {
|
||||
width:100%;
|
||||
width:100%;
|
||||
}
|
||||
.companies p {
|
||||
text-align:center;
|
||||
text-align:center;
|
||||
}
|
||||
.ornament-bg .img-text-holder .text-side p {
|
||||
display:block;
|
||||
display:block;
|
||||
}
|
||||
.accelerators-block .accelerator img {
|
||||
object-position: 50% 20%;
|
||||
object-position: 50% 20%;
|
||||
}
|
||||
.solution-illustration .img-box {
|
||||
width:50%;
|
||||
width:50%;
|
||||
}
|
||||
.grp-ldc img {
|
||||
width:120px;
|
||||
width:120px;
|
||||
}
|
||||
.ornament-bg .img-text-holder img{
|
||||
width:50%;
|
||||
height:50%;
|
||||
margin:auto;
|
||||
width:50%;
|
||||
height:50%;
|
||||
margin:auto;
|
||||
}
|
||||
.ornament-bg .img-text-holder iframe {
|
||||
min-height:250px;
|
||||
min-width:100%;
|
||||
min-height:250px;
|
||||
min-width:100%;
|
||||
}
|
||||
|
||||
}
|
||||
@media (max-width: 479px){
|
||||
.ornament-bg .img-text-holder img{
|
||||
width:100%;
|
||||
height:100%;
|
||||
margin:auto;
|
||||
}
|
||||
.onlyDesktop {
|
||||
display:none;
|
||||
}
|
||||
.ornament-bg .img-text-holder img{
|
||||
width:100%;
|
||||
height:100%;
|
||||
margin:auto;
|
||||
}
|
||||
.onlyDesktop {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.banner .caption-title h1 {
|
||||
font-size: 21px;
|
||||
}
|
||||
.banner .caption-title h1 {
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
.text-content .illustration-block .illstr:nth-child(2) img {
|
||||
width: 120px;
|
||||
}
|
||||
.text-content .illustration-block .illstr:nth-child(2) img {
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.text-content .illustration-block .illstr:nth-child(3) img {
|
||||
width: 120px;
|
||||
}
|
||||
.text-content .illustration-block .illstr:nth-child(3) img {
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.products .products-carousel .owl-item.center{
|
||||
transform: scale(1);
|
||||
}
|
||||
.products .products-carousel .owl-item.center{
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.item .outside-title{
|
||||
font-size:18px;
|
||||
}
|
||||
.products .gallery-title{
|
||||
font-size:24px;
|
||||
}
|
||||
.chicken {
|
||||
right:-14px;
|
||||
max-width:90px;
|
||||
top:100px;
|
||||
}
|
||||
.brands-carousel .owl-stage-outer {
|
||||
min-height:130px !important;
|
||||
}
|
||||
.solution-illustration .img-box {
|
||||
width:100%;
|
||||
}
|
||||
.pictures-holder .picture-holder.picture-1 {
|
||||
width:39%;
|
||||
}
|
||||
.text-content .illustration-block .illstr:first-child {
|
||||
width:90px;
|
||||
}
|
||||
.text-content .illustration-block .illstr{
|
||||
width:auto;
|
||||
}
|
||||
.text-content .illustration-block .illstr:last-child {
|
||||
width:120px;
|
||||
}
|
||||
.w50-wrapper .w50-container {
|
||||
padding: 0 15px;
|
||||
}
|
||||
.w50-wrapper .w50-container img {
|
||||
margin-top:18px;
|
||||
}
|
||||
.solution-illustration .img-box {
|
||||
min-height:200px;
|
||||
font-size : 17px;
|
||||
}
|
||||
.item .outside-title{
|
||||
font-size:18px;
|
||||
}
|
||||
.products .gallery-title{
|
||||
font-size:24px;
|
||||
}
|
||||
.chicken {
|
||||
right:-14px;
|
||||
max-width:90px;
|
||||
top:100px;
|
||||
}
|
||||
.brands-carousel .owl-stage-outer {
|
||||
min-height:130px !important;
|
||||
}
|
||||
.solution-illustration .img-box {
|
||||
width:100%;
|
||||
}
|
||||
.pictures-holder .picture-holder.picture-1 {
|
||||
width:39%;
|
||||
}
|
||||
.text-content .illustration-block .illstr:first-child {
|
||||
width:90px;
|
||||
}
|
||||
.text-content .illustration-block .illstr{
|
||||
width:auto;
|
||||
}
|
||||
.text-content .illustration-block .illstr:last-child {
|
||||
width:120px;
|
||||
}
|
||||
.w50-wrapper .w50-container {
|
||||
padding: 0 15px;
|
||||
}
|
||||
.w50-wrapper .w50-container img {
|
||||
margin-top:18px;
|
||||
}
|
||||
.solution-illustration .img-box {
|
||||
min-height:200px;
|
||||
font-size : 17px;
|
||||
}
|
||||
.solution-illustration .img-box:nth-child(3) {
|
||||
min-height: 180px;
|
||||
min-height: 180px;
|
||||
}
|
||||
.solution-illustration .img-box img {
|
||||
width:40%;
|
||||
height:auto;
|
||||
}
|
||||
.solution-illustration .img-box:nth-child(3) img{
|
||||
width:30%;
|
||||
}
|
||||
.products .products-carousel .owl-nav .owl-prev {
|
||||
left:15px;
|
||||
}
|
||||
.products .products-carousel .owl-nav .owl-next {
|
||||
right:15px;
|
||||
}
|
||||
.logos-holder img {
|
||||
margin-right:10px;
|
||||
}
|
||||
.grp-ldc img {
|
||||
max-width:100px;
|
||||
}
|
||||
.solution-illustration .img-box img {
|
||||
width:40%;
|
||||
height:auto;
|
||||
}
|
||||
.solution-illustration .img-box:nth-child(3) img{
|
||||
width:30%;
|
||||
}
|
||||
.products .products-carousel .owl-nav .owl-prev {
|
||||
left:15px;
|
||||
}
|
||||
.products .products-carousel .owl-nav .owl-next {
|
||||
right:15px;
|
||||
}
|
||||
.logos-holder img {
|
||||
margin-right:10px;
|
||||
}
|
||||
.grp-ldc img {
|
||||
max-width:100px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1037,91 +1037,91 @@ p {
|
|||
}
|
||||
|
||||
.specImg {
|
||||
margin-right:10px;
|
||||
margin-right:10px;
|
||||
}
|
||||
|
||||
#header .header-top nav a:last-child {
|
||||
width:30px;
|
||||
overflow:hidden;
|
||||
vertical-align: bottom;
|
||||
margin-right:10px !important;
|
||||
width:30px;
|
||||
overflow:hidden;
|
||||
vertical-align: bottom;
|
||||
margin-right:10px !important;
|
||||
}
|
||||
|
||||
#lang_choice_1 {
|
||||
background : #191919;
|
||||
color:#FFF;
|
||||
border:0;
|
||||
text-transform: uppercase;
|
||||
font-family: 'Avenir';
|
||||
font-weight:600;
|
||||
background : #191919;
|
||||
color:#FFF;
|
||||
border:0;
|
||||
text-transform: uppercase;
|
||||
font-family: 'Avenir';
|
||||
font-weight:600;
|
||||
}
|
||||
|
||||
@media (max-width: 768px){
|
||||
nav a:last-child {
|
||||
width:26px !important;
|
||||
display:block;
|
||||
overflow:hidden;
|
||||
vertical-align: bottom;
|
||||
margin-right:10px !important;
|
||||
margin-top:16px !important;
|
||||
}
|
||||
nav a:last-child {
|
||||
width:26px !important;
|
||||
display:block;
|
||||
overflow:hidden;
|
||||
vertical-align: bottom;
|
||||
margin-right:10px !important;
|
||||
margin-top:16px !important;
|
||||
}
|
||||
|
||||
#lang_choice_1 {
|
||||
background : transparent;
|
||||
color:#FFF;
|
||||
border:0;
|
||||
text-transform: uppercase;
|
||||
font-family: 'Avenir';
|
||||
font-weight:600;
|
||||
}
|
||||
#lang_choice_1 {
|
||||
background : transparent;
|
||||
color:#FFF;
|
||||
border:0;
|
||||
text-transform: uppercase;
|
||||
font-family: 'Avenir';
|
||||
font-weight:600;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*------------------Nos métiers ---------------------*/
|
||||
.btn-beige{
|
||||
background-color: #d0ae88;
|
||||
font-size: 1.2em;
|
||||
color: white;
|
||||
border-radius: 5px;
|
||||
padding: 5px 15px;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
transition: all ease-in-out 0.2s;
|
||||
background-color: #d0ae88;
|
||||
font-size: 1.2em;
|
||||
color: white;
|
||||
border-radius: 5px;
|
||||
padding: 5px 15px;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
transition: all ease-in-out 0.2s;
|
||||
}
|
||||
.btn-beige:hover, .btn-beige.selected{
|
||||
background-color: #A3896B;
|
||||
background-color: #A3896B;
|
||||
}
|
||||
|
||||
.ourjobs-header .btn-beige{
|
||||
margin: 0 auto;
|
||||
width: 170px;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 170px;
|
||||
display: block;
|
||||
}
|
||||
.ourjobs-type .accelerators-holder{
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
.ourjobs-type .accelerators-holder .accelerator{
|
||||
width: 23%;
|
||||
margin: 0 1% 20px 1%;
|
||||
width: 23%;
|
||||
margin: 0 1% 20px 1%;
|
||||
}
|
||||
|
||||
.ourjobs-type .acc-title-holder .acc-title span, .accelerators-block .acc-title-holder .acc-title strong{
|
||||
font-size: 36px;
|
||||
}
|
||||
.ourjobs-type .acc-title-holder .acc-title span, .accelerators-block .acc-title-holder .acc-title strong{
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px){
|
||||
.ourjobs-type .accelerators-holder .accelerator{
|
||||
width: 30%;
|
||||
}
|
||||
.ourjobs-type .acc-title-holder .acc-title span, .accelerators-block .acc-title-holder .acc-title strong{
|
||||
font-size: 30px;
|
||||
}
|
||||
.ourjobs-type .accelerators-holder .accelerator{
|
||||
width: 30%;
|
||||
}
|
||||
.ourjobs-type .acc-title-holder .acc-title span, .accelerators-block .acc-title-holder .acc-title strong{
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px){
|
||||
.ourjobs-type .accelerators-holder .accelerator{
|
||||
width: 100%;
|
||||
}
|
||||
.ourjobs-type .accelerators-holder .accelerator{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.jobpage .listPost {text-align: center;}
|
||||
|
|
@ -1133,7 +1133,7 @@ max-width: 265px;
|
|||
margin: 0 auto;
|
||||
}
|
||||
.jobpage .listPost .selectwrapper:after{
|
||||
content: "▼";
|
||||
content: "▼";
|
||||
font-size: 1em;
|
||||
height: 1em;
|
||||
line-height: 1;
|
||||
|
|
@ -1144,12 +1144,12 @@ color: #ffffff;
|
|||
pointer-events: none;
|
||||
|
||||
}
|
||||
.jobpage .listPost .selectChangePost{display: none; width: 100%; border:0; border-radius:5px; padding: 15px 20px; background-color: #d0ae88; color: #ffffff; -webkit-appearance : none; -moz-appearance: none; overflow: hidden; cursor: pointer;}
|
||||
.jobpage .listPost .selectChangePost{display: none; width: 100%; border:0; border-radius:5px; padding: 15px 20px; background-color: #d0ae88; color: #ffffff; -webkit-appearance : none; -moz-appearance: none; overflow: hidden; cursor: pointer;}
|
||||
@media (max-width: 768px){
|
||||
.jobpage .listPost a {display: none;}
|
||||
.jobpage .listPost .selectChangePost{display: block;}
|
||||
.jobpage .listPost a {display: none;}
|
||||
.jobpage .listPost .selectChangePost{display: block;}
|
||||
}
|
||||
.jobpage .onePost{ opacity: 0;}
|
||||
.jobpage .onePost{ opacity: 0;}
|
||||
.jobpage .onePost header{margin: 30px 0 60px 0; text-align: center; position: relative;}
|
||||
.jobpage .onePost header .owl-next, .jobpage .onePost header .owl-prev{-webkit-transition: opacity .3s ease-in-out;-o-transition: opacity .3s ease-in-out;transition: opacity .3s ease-in-out;display: block;position: absolute;width: 40px;height: 54px;right: 55px;left: auto;top: 128px;font-size: 0;background: url('../images/owl-nav-arrow-brown.svg');cursor: pointer;cursor: hand;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}
|
||||
.jobpage .onePost header .owl-prev{left: 55px;;right: auto;-webkit-transform: rotate(180deg);-ms-transform: rotate(180deg);transform: rotate(180deg);}
|
||||
|
|
@ -1159,14 +1159,14 @@ pointer-events: none;
|
|||
.jobpage .onePost .descPost .btn-beige{margin: 0 auto;width: 170px;display: block;}
|
||||
|
||||
@media (max-width: 768px){
|
||||
.jobpage .onePost .descPost .row {flex-direction: column;}
|
||||
.jobpage .onePost .descPost .row > div {margin: 0; width: 100%;}
|
||||
.jobpage .onePost header .owl-next, .jobpage .onePost header .owl-prev{display:none;}
|
||||
.jobpage .onePost .descPost .row {flex-direction: column;}
|
||||
.jobpage .onePost .descPost .row > div {margin: 0; width: 100%;}
|
||||
.jobpage .onePost header .owl-next, .jobpage .onePost header .owl-prev{display:none;}
|
||||
}
|
||||
|
||||
.jobpage h4{color: #d0ae88;font-weight: 900;position: relative;margin-bottom: 32px; border-bottom: 1px solid #d0ae88;}
|
||||
@media (max-width: 768px){
|
||||
.jobpage h4{font-size: 19px; margin-bottom: 10px;}
|
||||
.jobpage h4{font-size: 19px; margin-bottom: 10px;}
|
||||
}
|
||||
|
||||
.jobpage .social_share{border: 1px solid #a7a7a7; width: 194px; background-color: #eeeeee; padding: 10px 20px; margin: 20px auto 0 auto;}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Histoire de terre EN Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -8,7 +9,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner', 369) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Home</a></li>
|
||||
<li>Prioritising local production</li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Histoire de terre Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -8,7 +9,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner', 369) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Accueil</a></li>
|
||||
<li>Une histoire de terre</li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
|
|
|
|||
|
|
@ -18,107 +18,107 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
|
|||
* @param string $context Type of feed. Possible values include 'rss2', 'rss2-comments',
|
||||
* 'rdf', 'atom', and 'atom-comments'.
|
||||
*/
|
||||
do_action( 'rss_tag_pre', 'rss2' );
|
||||
do_action('rss_tag_pre', 'rss2');
|
||||
?>
|
||||
<rss version="2.0"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
|
||||
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
|
||||
<?php
|
||||
/**
|
||||
* Fires at the end of the RSS root to add namespaces.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
do_action( 'rss2_ns' );
|
||||
?>
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
|
||||
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
|
||||
<?php
|
||||
/**
|
||||
* Fires at the end of the RSS root to add namespaces.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
do_action('rss2_ns');
|
||||
?>
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title><?php wp_title_rss(); ?></title>
|
||||
<atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
|
||||
<link><?php bloginfo_rss('url') ?></link>
|
||||
<description><?php bloginfo_rss("description") ?></description>
|
||||
<lastBuildDate><?php
|
||||
$date = get_lastpostmodified( 'GMT' );
|
||||
echo $date ? mysql2date( 'D, d M Y H:i:s +0000', $date, false ) : date( 'D, d M Y H:i:s +0000' );
|
||||
?></lastBuildDate>
|
||||
<language><?php bloginfo_rss( 'language' ); ?></language>
|
||||
<sy:updatePeriod><?php
|
||||
$duration = 'hourly';
|
||||
<title><?php wp_title_rss(); ?></title>
|
||||
<atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
|
||||
<link><?php bloginfo_rss('url') ?></link>
|
||||
<description><?php bloginfo_rss("description") ?></description>
|
||||
<lastBuildDate><?php
|
||||
$date = get_lastpostmodified('GMT');
|
||||
echo $date ? mysql2date('D, d M Y H:i:s +0000', $date, false) : date('D, d M Y H:i:s +0000');
|
||||
?></lastBuildDate>
|
||||
<language><?php bloginfo_rss('language'); ?></language>
|
||||
<sy:updatePeriod><?php
|
||||
$duration = 'hourly';
|
||||
|
||||
/**
|
||||
* Filters how often to update the RSS feed.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @param string $duration The update period. Accepts 'hourly', 'daily', 'weekly', 'monthly',
|
||||
* 'yearly'. Default 'hourly'.
|
||||
*/
|
||||
echo apply_filters( 'rss_update_period', $duration );
|
||||
?></sy:updatePeriod>
|
||||
<sy:updateFrequency><?php
|
||||
$frequency = '1';
|
||||
/**
|
||||
* Filters how often to update the RSS feed.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @param string $duration The update period. Accepts 'hourly', 'daily', 'weekly', 'monthly',
|
||||
* 'yearly'. Default 'hourly'.
|
||||
*/
|
||||
echo apply_filters('rss_update_period', $duration);
|
||||
?></sy:updatePeriod>
|
||||
<sy:updateFrequency><?php
|
||||
$frequency = '1';
|
||||
|
||||
/**
|
||||
* Filters the RSS update frequency.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @param string $frequency An integer passed as a string representing the frequency
|
||||
* of RSS updates within the update period. Default '1'.
|
||||
*/
|
||||
echo apply_filters( 'rss_update_frequency', $frequency );
|
||||
?></sy:updateFrequency>
|
||||
<?php
|
||||
/**
|
||||
* Fires at the end of the RSS2 Feed Header.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
do_action( 'rss2_head');
|
||||
/**
|
||||
* Filters the RSS update frequency.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @param string $frequency An integer passed as a string representing the frequency
|
||||
* of RSS updates within the update period. Default '1'.
|
||||
*/
|
||||
echo apply_filters('rss_update_frequency', $frequency);
|
||||
?></sy:updateFrequency>
|
||||
<?php
|
||||
/**
|
||||
* Fires at the end of the RSS2 Feed Header.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
do_action('rss2_head');
|
||||
|
||||
while( have_posts()) : the_post();
|
||||
?>
|
||||
<item>
|
||||
<title><?php the_title_rss() ?></title>
|
||||
<link><?php the_permalink_rss() ?></link>
|
||||
<?php if ( get_comments_number() || comments_open() ) : ?>
|
||||
<comments><?php comments_link_feed(); ?></comments>
|
||||
<?php endif; ?>
|
||||
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate>
|
||||
<dc:creator><![CDATA[<?php echo site_url(); ?>]]></dc:creator>
|
||||
<?php the_category_rss('rss2') ?>
|
||||
while( have_posts()) : the_post();
|
||||
?>
|
||||
<item>
|
||||
<title><?php the_title_rss() ?></title>
|
||||
<link><?php the_permalink_rss() ?></link>
|
||||
<?php if (get_comments_number() || comments_open() ) : ?>
|
||||
<comments><?php comments_link_feed(); ?></comments>
|
||||
<?php endif; ?>
|
||||
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate>
|
||||
<dc:creator><![CDATA[<?php echo site_url(); ?>]]></dc:creator>
|
||||
<?php the_category_rss('rss2') ?>
|
||||
|
||||
<guid isPermaLink="false"><?php the_guid(); ?></guid>
|
||||
<?php if (get_option('rss_use_excerpt')) : ?>
|
||||
<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
|
||||
<?php else : ?>
|
||||
<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
|
||||
<?php $content = get_the_content_feed('rss2'); ?>
|
||||
<?php if ( strlen( $content ) > 0 ) : ?>
|
||||
<content:encoded><![CDATA[<?php echo $content; ?>]]></content:encoded>
|
||||
<?php else : ?>
|
||||
<content:encoded><![CDATA[<?php the_excerpt_rss(); ?>]]></content:encoded>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ( get_comments_number() || comments_open() ) : ?>
|
||||
<wfw:commentRss><?php echo esc_url( get_post_comments_feed_link(null, 'rss2') ); ?></wfw:commentRss>
|
||||
<slash:comments><?php echo get_comments_number(); ?></slash:comments>
|
||||
<?php endif; ?>
|
||||
<?php rss_enclosure(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Fires at the end of each RSS2 feed item.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
do_action( 'rss2_item' );
|
||||
?>
|
||||
</item>
|
||||
<?php endwhile; ?>
|
||||
<guid isPermaLink="false"><?php the_guid(); ?></guid>
|
||||
<?php if (get_option('rss_use_excerpt')) : ?>
|
||||
<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
|
||||
<?php else : ?>
|
||||
<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
|
||||
<?php $content = get_the_content_feed('rss2'); ?>
|
||||
<?php if (strlen($content) > 0 ) : ?>
|
||||
<content:encoded><![CDATA[<?php echo $content; ?>]]></content:encoded>
|
||||
<?php else : ?>
|
||||
<content:encoded><![CDATA[<?php the_excerpt_rss(); ?>]]></content:encoded>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if (get_comments_number() || comments_open() ) : ?>
|
||||
<wfw:commentRss><?php echo esc_url(get_post_comments_feed_link(null, 'rss2')); ?></wfw:commentRss>
|
||||
<slash:comments><?php echo get_comments_number(); ?></slash:comments>
|
||||
<?php endif; ?>
|
||||
<?php rss_enclosure(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Fires at the end of each RSS2 feed item.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
do_action('rss2_item');
|
||||
?>
|
||||
</item>
|
||||
<?php endwhile; ?>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
|||
|
|
@ -1,28 +1,28 @@
|
|||
<?php
|
||||
/**
|
||||
* Theme Name: pole-sbv
|
||||
* Description: Website designed by vineeth
|
||||
*/
|
||||
* Theme Name: pole-sbv
|
||||
* Description: Website designed by vineeth
|
||||
*/
|
||||
?>
|
||||
|
||||
<footer id="footer">
|
||||
<div class="container">
|
||||
<div class="footer-left">
|
||||
<a href="<?php echo esc_url( pll_home_url() ); ?>" class="logo">
|
||||
<a href="<?php echo esc_url(pll_home_url()); ?>" class="logo">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.svg" alt="SBV SOCIETE BRETONNE DE VOALAILLE" width="189" height="180">
|
||||
</a>
|
||||
<div class="footer-links">
|
||||
<div class="col">
|
||||
<a href="<?=custom_get_page_link(366);?>"><?php pll_e('Qui sommes-nous ?'); ?></a>
|
||||
<a href="<?=custom_get_page_link(369);?>"><?php pll_e("Une histoire de terre"); ?></a>
|
||||
<a href="<?php echo custom_get_page_link(366);?>"><?php pll_e('Qui sommes-nous ?'); ?></a>
|
||||
<a href="<?php echo custom_get_page_link(369);?>"><?php pll_e("Une histoire de terre"); ?></a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<a href="<?=custom_get_page_link(372);?>"><?php pll_e("Une histoire d'Hommes"); ?></a>
|
||||
<a href="<?=custom_get_page_link(338);?>"><?php pll_e("Une histoire de savoir-faire"); ?></a>
|
||||
<a href="<?php echo custom_get_page_link(372);?>"><?php pll_e("Une histoire d'Hommes"); ?></a>
|
||||
<a href="<?php echo custom_get_page_link(338);?>"><?php pll_e("Une histoire de savoir-faire"); ?></a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<a href="<?=custom_get_page_link(407);?>"><?php pll_e("Nos solutions au service de nos clients"); ?></a>
|
||||
<a href="<?=custom_get_page_link(405);?>"><?php pll_e("Nos marques"); ?></a>
|
||||
<a href="<?php echo custom_get_page_link(407);?>"><?php pll_e("Nos solutions au service de nos clients"); ?></a>
|
||||
<a href="<?php echo custom_get_page_link(405);?>"><?php pll_e("Nos marques"); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -35,12 +35,12 @@
|
|||
</div>
|
||||
<div class="footer-right">
|
||||
<nav>
|
||||
<a href="<?=custom_get_page_link(412);?>"><?php pll_e('Contact'); ?></a>
|
||||
<a href="<?=custom_get_page_link(328);?>" class="mobile-hidden"><?php pll_e('Actualités'); ?></a>
|
||||
<a href="<?=custom_get_page_link(414);?>"><?php pll_e('Mentions légales'); ?></a>
|
||||
<a href="<?=custom_get_page_link(1242);?>"><?php pll_e('Politique de confidentialité'); ?></a>
|
||||
<a href="#" class="ldcweb-cn-cookie-link"><?php pll_e('Gestion des cookies'); ?></a>
|
||||
<a href="<?=custom_get_page_link(412);?>#coordonnees" class="mobile-hidden"><?php pll_e('Coordonnées SBV'); ?></a>
|
||||
<a href="<?php echo custom_get_page_link(412);?>"><?php pll_e('Contact'); ?></a>
|
||||
<a href="<?php echo custom_get_page_link(328);?>" class="mobile-hidden"><?php pll_e('Actualités'); ?></a>
|
||||
<a href="<?php echo custom_get_page_link(414);?>"><?php pll_e('Mentions légales'); ?></a>
|
||||
<a href="<?php echo custom_get_page_link(1242);?>"><?php pll_e('Politique de confidentialité'); ?></a>
|
||||
<a href="#" class="ldcweb-cn-cookie-link"><?php pll_e('Gestion des cookies'); ?></a>
|
||||
<a href="<?php echo custom_get_page_link(412);?>#coordonnees" class="mobile-hidden"><?php pll_e('Coordonnées SBV'); ?></a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -48,77 +48,77 @@
|
|||
</div>
|
||||
|
||||
<div id="ldcweb-cn">
|
||||
<div id="ldcweb-banner" class="ldcweb-cn-banner">
|
||||
<div class="banner-img">
|
||||
<img src="<?php bloginfo( 'template_url' ) ?>/images/logo.svg" alt="Logo" />
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="banner-title">
|
||||
<p aria-level="h1">Le respect de votre vie privée est notre priorité</p>
|
||||
</div>
|
||||
<div class="banner-txt">
|
||||
<p>Ce site web stocke les cookies sur votre ordinateur. LDC utilise ces informations afin d’améliorer et de personnaliser votre expérience de navigation, ainsi que pour l'analyse et les indicateurs concernant nos visiteurs à la fois sur ce site web et sur d'autres supports.
|
||||
<br>Vous pouvez cliquer sur « Accepter » si vous consentez à l’utilisation de ces cookies.
|
||||
<br>Si vous refusez l'utilisation des cookies, vos informations ne seront pas suivies lors de votre visite sur ce site. Un cookie sera utilisé dans votre navigateur afin de se souvenir de ne pas suivre vos préférences. Certaines fonctionnalités ne seront pas accessibles.
|
||||
<br>Vous pouvez changer d’avis et modifier votre consentement à tout moment en revenant sur ce site.
|
||||
<br>Pour en savoir plus sur les cookies que nous utilisons, consultez notre <a href="<?=custom_get_page_link(1242);?>"><?php pll_e('Politique de confidentialité'); ?></a>.
|
||||
<br></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btns">
|
||||
<div>
|
||||
<a href="#" id="ldcweb-cn-accept-banner" class="btn ldcweb-cn-accept">OK, TOUT ACCEPTER</a>
|
||||
</div>
|
||||
<div>
|
||||
<a href="#" id="ldcweb-cn-deny-banner" class="btn ldcweb-cn-deny">TOUT REFUSER</a>
|
||||
</div>
|
||||
<div>
|
||||
<a href="#" class="btn ldcweb-cn-personalize">Personnaliser</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ldcweb-cn-modal">
|
||||
<div class="modal-wrapper">
|
||||
<div class="modal-btn-close"><a href="#" id="close-link">X</a></div>
|
||||
<div class="modal-title">
|
||||
<p class="title" aria-level="h2">Panneau de gestion des cookies</p>
|
||||
<p class="description">Les fonctionnalités de ce site s’appuient sur des services proposés par des tiers.
|
||||
<br>Si vous acceptez, ces tiers déposeront des cookies qui vous permettront de visualiser sur le site du contenu hébergé par ces tiers.
|
||||
<br>Via ces cookies, ces tiers collecteront et utiliseront vos données de navigation pour des finalités qui leur sont propres, conformément à leur politique de confidentialité (lien ci-dessous). Cette page vous permet de donner ou de retirer votre consentement, soit globalement soit service par service.</p>
|
||||
</div>
|
||||
<div class="modal-all">
|
||||
<p>Préférence pour tous les services</p>
|
||||
<div class="all-buttons">
|
||||
<div class="accept"><a href="#" id="ldcweb-cn-accept">Autoriser tous les cookies</a></div>
|
||||
<div class="deny"><a href="#" id="ldcweb-cn-deny">Interdire tous les cookies</a></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-details">
|
||||
<ul id="ldcweb-cn-list">
|
||||
</ul>
|
||||
<div id="template">
|
||||
<div>
|
||||
<div class="ldcweb-cn-infos">
|
||||
<span class="ldcweb-cn-name">Google Analytics (universal)</span>
|
||||
<span class="ldcweb-cn-description">Ce service peut déposer 8 cookies.</span>
|
||||
<a class="ldcweb-cn-link" href="#">En savoir plus</a>
|
||||
</div>
|
||||
<div class="ldcweb-cn-buttons">
|
||||
<div class="accept" id="accept-btn">
|
||||
<input type="radio" id="analytics1" name="analytics" data-name="analytics" data-status="true">
|
||||
<label for="analytics1">Autoriser</label>
|
||||
</div>
|
||||
<div class="deny" id="deny-btn">
|
||||
<input type="radio" id="analytics2" name="analytics" data-name="analytics" data-status="false">
|
||||
<label for="analytics2">Interdire</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ldcweb-banner" class="ldcweb-cn-banner">
|
||||
<div class="banner-img">
|
||||
<img src="<?php bloginfo('template_url') ?>/images/logo.svg" alt="Logo" />
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="banner-title">
|
||||
<p aria-level="h1">Le respect de votre vie privée est notre priorité</p>
|
||||
</div>
|
||||
<div class="banner-txt">
|
||||
<p>Ce site web stocke les cookies sur votre ordinateur. LDC utilise ces informations afin d’améliorer et de personnaliser votre expérience de navigation, ainsi que pour l'analyse et les indicateurs concernant nos visiteurs à la fois sur ce site web et sur d'autres supports.
|
||||
<br>Vous pouvez cliquer sur « Accepter » si vous consentez à l’utilisation de ces cookies.
|
||||
<br>Si vous refusez l'utilisation des cookies, vos informations ne seront pas suivies lors de votre visite sur ce site. Un cookie sera utilisé dans votre navigateur afin de se souvenir de ne pas suivre vos préférences. Certaines fonctionnalités ne seront pas accessibles.
|
||||
<br>Vous pouvez changer d’avis et modifier votre consentement à tout moment en revenant sur ce site.
|
||||
<br>Pour en savoir plus sur les cookies que nous utilisons, consultez notre <a href="<?php echo custom_get_page_link(1242);?>"><?php pll_e('Politique de confidentialité'); ?></a>.
|
||||
<br></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btns">
|
||||
<div>
|
||||
<a href="#" id="ldcweb-cn-accept-banner" class="btn ldcweb-cn-accept">OK, TOUT ACCEPTER</a>
|
||||
</div>
|
||||
<div>
|
||||
<a href="#" id="ldcweb-cn-deny-banner" class="btn ldcweb-cn-deny">TOUT REFUSER</a>
|
||||
</div>
|
||||
<div>
|
||||
<a href="#" class="btn ldcweb-cn-personalize">Personnaliser</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ldcweb-cn-modal">
|
||||
<div class="modal-wrapper">
|
||||
<div class="modal-btn-close"><a href="#" id="close-link">X</a></div>
|
||||
<div class="modal-title">
|
||||
<p class="title" aria-level="h2">Panneau de gestion des cookies</p>
|
||||
<p class="description">Les fonctionnalités de ce site s’appuient sur des services proposés par des tiers.
|
||||
<br>Si vous acceptez, ces tiers déposeront des cookies qui vous permettront de visualiser sur le site du contenu hébergé par ces tiers.
|
||||
<br>Via ces cookies, ces tiers collecteront et utiliseront vos données de navigation pour des finalités qui leur sont propres, conformément à leur politique de confidentialité (lien ci-dessous). Cette page vous permet de donner ou de retirer votre consentement, soit globalement soit service par service.</p>
|
||||
</div>
|
||||
<div class="modal-all">
|
||||
<p>Préférence pour tous les services</p>
|
||||
<div class="all-buttons">
|
||||
<div class="accept"><a href="#" id="ldcweb-cn-accept">Autoriser tous les cookies</a></div>
|
||||
<div class="deny"><a href="#" id="ldcweb-cn-deny">Interdire tous les cookies</a></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-details">
|
||||
<ul id="ldcweb-cn-list">
|
||||
</ul>
|
||||
<div id="template">
|
||||
<div>
|
||||
<div class="ldcweb-cn-infos">
|
||||
<span class="ldcweb-cn-name">Google Analytics (universal)</span>
|
||||
<span class="ldcweb-cn-description">Ce service peut déposer 8 cookies.</span>
|
||||
<a class="ldcweb-cn-link" href="#">En savoir plus</a>
|
||||
</div>
|
||||
<div class="ldcweb-cn-buttons">
|
||||
<div class="accept" id="accept-btn">
|
||||
<input type="radio" id="analytics1" name="analytics" data-name="analytics" data-status="true">
|
||||
<label for="analytics1">Autoriser</label>
|
||||
</div>
|
||||
<div class="deny" id="deny-btn">
|
||||
<input type="radio" id="analytics2" name="analytics" data-name="analytics" data-status="false">
|
||||
<label for="analytics2">Interdire</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/ldcweb-cn.js"></script>
|
||||
<script>
|
||||
|
|
@ -160,13 +160,13 @@
|
|||
|
||||
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-1.7.1.min.js"></script>
|
||||
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.fancybox.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$('[data-fancybox]').fancybox({
|
||||
toolbar: false,
|
||||
smallBtn : true,
|
||||
});
|
||||
</script>
|
||||
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.fancybox.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$('[data-fancybox]').fancybox({
|
||||
toolbar: false,
|
||||
smallBtn : true,
|
||||
});
|
||||
</script>
|
||||
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/vendor.min.js"></script>
|
||||
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/app.js"></script>
|
||||
<link href="<?php bloginfo('stylesheet_directory'); ?>/css/main.css" rel="stylesheet">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
/**
|
||||
*
|
||||
* Pour spliter le fichier functions
|
||||
*/
|
||||
get_template_part('inc/functs', 'templateconf');
|
||||
|
|
|
|||
|
|
@ -1,80 +1,81 @@
|
|||
<?php
|
||||
/**
|
||||
* Theme Name: pole-sbv
|
||||
* Description: Website designed by ldc web
|
||||
*/
|
||||
* Theme Name: pole-sbv
|
||||
* Description: Website designed by ldc web
|
||||
*/
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html lang="fr">
|
||||
<head profile="http://gmpg.org/xfn/11">
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
|
||||
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0">
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0">
|
||||
<meta charset="utf-8">
|
||||
<title><?php the_title(); ?></title>
|
||||
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
|
||||
|
||||
<!-- core CSS -->
|
||||
<link href="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.fancybox.min.css" rel="stylesheet">
|
||||
<link href="<?php bloginfo('stylesheet_directory'); ?>/css/style.min.css" rel="stylesheet">
|
||||
<link href="<?php bloginfo('stylesheet_directory'); ?>/css/vendor.min.css" rel="stylesheet">
|
||||
<link href="<?php bloginfo('stylesheet_directory'); ?>/css/vendor.min.css" rel="stylesheet">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="js/html5shiv.js"></script>
|
||||
<script src="js/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/images/favicon/favicon-16x16.png">
|
||||
<link href="<?php bloginfo('stylesheet_directory'); ?>/css/cookies-ldc.css" rel="stylesheet">
|
||||
<link href="<?php bloginfo('stylesheet_directory'); ?>/css/cookies-ldc.css" rel="stylesheet">
|
||||
|
||||
<?php wp_head(); ?>
|
||||
</head><!--/head-->
|
||||
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<header id="header">
|
||||
<span class="menu-opener">
|
||||
<span class="burger">Menu opener</span>
|
||||
</span>
|
||||
<?php if(is_page("homepage") || is_page("homepage-en")){ ?>
|
||||
<h1 class="logo-container">
|
||||
<a href="<?php echo esc_url( pll_home_url() ); ?>" class="logo">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.svg" alt="SBV SOCIETE BRETONNE DE VOALAILLE" width="189" height="180">
|
||||
</a>
|
||||
</h1>
|
||||
<?php } else { ?>
|
||||
<div class="logo-container">
|
||||
<a href="<?php echo esc_url( pll_home_url() ); ?>" class="logo">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.svg" alt="SBV SOCIETE BRETONNE DE VOALAILLE" width="189" height="180">
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="menu-holder">
|
||||
<span class="menu-close"></span>
|
||||
<div class="header-top">
|
||||
<div class="container">
|
||||
<nav>
|
||||
<a href="<?=custom_get_page_link(328);?>"><?php pll_e('Actualités'); ?></a>
|
||||
<a class="color_link" target="blank" href="https://recrutement.ldc.fr/fr/annonces?localisation=28751&s_o=Site SBV"><?php pll_e('Nous rejoindre'); ?></a>
|
||||
<a href="<?=custom_get_page_link(412);?>"><?php pll_e('Contact'); ?></a>
|
||||
<a><?php pll_the_languages(array('dropdown' => 1, 'display_names_as' => 'slug')); ?></a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-bottom">
|
||||
<div class="container">
|
||||
<ul class="bottom-holder">
|
||||
<li class="who"><a href="<?=custom_get_page_link(366);?>"><?php pll_e('Qui sommes-nous ?'); if (pll_current_language() == 'fr') { echo '?'; } ?> </a></li>
|
||||
<li class="earth"><a href="<?=custom_get_page_link(369);?>"><?php pll_e("Une histoire de <br> terre"); ?></a></li>
|
||||
<li class="mens"><a href="<?=custom_get_page_link(372);?>"><?php pll_e("Une histoire <br> d'Hommes"); ?></a></li>
|
||||
<li class="savoir"><a href="<?=custom_get_page_link(338);?>"><?php pll_e("Une histoire de <br> savoir-faire"); ?></a></li>
|
||||
<li class="solutions"> <a href="<?=custom_get_page_link(407);?>"><?php pll_e("Nos solutions au <br> service de nos clients"); ?></a></li>
|
||||
<li class="ourbrands"> <a href="<?=custom_get_page_link(405);?>"><?php pll_e("Nos marques"); ?></a></li>
|
||||
<?php if (get_locale() == 'fr_FR'){ ?>
|
||||
<li class="ourjobs"> <a href="<?=custom_get_page_link(772);?>"><?php pll_e("Nos métiers"); ?></a></li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="wrapper">
|
||||
<header id="header">
|
||||
<span class="menu-opener">
|
||||
<span class="burger">Menu opener</span>
|
||||
</span>
|
||||
<?php if(is_page("homepage") || is_page("homepage-en")) { ?>
|
||||
<h1 class="logo-container">
|
||||
<a href="<?php echo esc_url(pll_home_url()); ?>" class="logo">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.svg" alt="SBV SOCIETE BRETONNE DE VOALAILLE" width="189" height="180">
|
||||
</a>
|
||||
</h1>
|
||||
<?php } else { ?>
|
||||
<div class="logo-container">
|
||||
<a href="<?php echo esc_url(pll_home_url()); ?>" class="logo">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.svg" alt="SBV SOCIETE BRETONNE DE VOALAILLE" width="189" height="180">
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="menu-holder">
|
||||
<span class="menu-close"></span>
|
||||
<div class="header-top">
|
||||
<div class="container">
|
||||
<nav>
|
||||
<a href="<?php echo custom_get_page_link(328);?>"><?php pll_e('Actualités'); ?></a>
|
||||
<a class="color_link" target="blank" href="https://recrutement.ldc.fr/fr/annonces?localisation=28751&s_o=Site SBV"><?php pll_e('Nous rejoindre'); ?></a>
|
||||
<a href="<?php echo custom_get_page_link(412);?>"><?php pll_e('Contact'); ?></a>
|
||||
<a><?php pll_the_languages(array('dropdown' => 1, 'display_names_as' => 'slug')); ?></a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-bottom">
|
||||
<div class="container">
|
||||
<ul class="bottom-holder">
|
||||
<li class="who"><a href="<?php echo custom_get_page_link(366);?>"><?php pll_e('Qui sommes-nous ?'); if (pll_current_language() == 'fr') { echo '?';
|
||||
} ?> </a></li>
|
||||
<li class="earth"><a href="<?php echo custom_get_page_link(369);?>"><?php pll_e("Une histoire de <br> terre"); ?></a></li>
|
||||
<li class="mens"><a href="<?php echo custom_get_page_link(372);?>"><?php pll_e("Une histoire <br> d'Hommes"); ?></a></li>
|
||||
<li class="savoir"><a href="<?php echo custom_get_page_link(338);?>"><?php pll_e("Une histoire de <br> savoir-faire"); ?></a></li>
|
||||
<li class="solutions"> <a href="<?php echo custom_get_page_link(407);?>"><?php pll_e("Nos solutions au <br> service de nos clients"); ?></a></li>
|
||||
<li class="ourbrands"> <a href="<?php echo custom_get_page_link(405);?>"><?php pll_e("Nos marques"); ?></a></li>
|
||||
<?php if (get_locale() == 'fr_FR') { ?>
|
||||
<li class="ourjobs"> <a href="<?php echo custom_get_page_link(772);?>"><?php pll_e("Nos métiers"); ?></a></li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
|
|
|||
|
|
@ -1,159 +1,161 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: HomePage EN Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
||||
<?php masterslider(17); ?>
|
||||
<main id="main">
|
||||
<div id="content">
|
||||
<section class="accelerators-block">
|
||||
<div class="container">
|
||||
<div class="accelerators-holder">
|
||||
<a href="<?=custom_get_page_link(369);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img1.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span>PRIORITISING</span>
|
||||
<strong>LOCAL PRODUCTION</strong>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="<?=custom_get_page_link(372);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img3.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span>PRIORITISING</span>
|
||||
<strong>PEOPLE</strong>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="<?=custom_get_page_link(338);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img2.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span>PRIORITISING</span>
|
||||
<strong>EXPERTISE</strong>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="ornament-bg">
|
||||
<div class="container">
|
||||
<div class="content-wrapper">
|
||||
<h2 class="section-title
|
||||
marked-red">OUR <span class="bold">NEWS</span></h2>
|
||||
<?php
|
||||
<div id="content">
|
||||
<section class="accelerators-block">
|
||||
<div class="container">
|
||||
<div class="accelerators-holder">
|
||||
<a href="<?php echo custom_get_page_link(369);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img1.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span>PRIORITISING</span>
|
||||
<strong>LOCAL PRODUCTION</strong>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="<?php echo custom_get_page_link(372);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img3.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span>PRIORITISING</span>
|
||||
<strong>PEOPLE</strong>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="<?php echo custom_get_page_link(338);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img2.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span>PRIORITISING</span>
|
||||
<strong>EXPERTISE</strong>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="ornament-bg">
|
||||
<div class="container">
|
||||
<div class="content-wrapper">
|
||||
<h2 class="section-title
|
||||
marked-red">OUR <span class="bold">NEWS</span></h2>
|
||||
<?php
|
||||
|
||||
$args = array( 'post_type' => 'post', 'posts_per_page' => 1 );
|
||||
$loop = new WP_Query( $args );
|
||||
while ( $loop->have_posts() ) : $loop->the_post();
|
||||
?>
|
||||
<div class="img-text-holder specvideo">
|
||||
<div class="img-side">
|
||||
<?php
|
||||
if (get_field('code_dintegration_video') != '') {
|
||||
the_field('code_dintegration_video');
|
||||
} else {
|
||||
the_post_thumbnail('medium-large');
|
||||
}
|
||||
$args = array( 'post_type' => 'post', 'posts_per_page' => 1 );
|
||||
$loop = new WP_Query($args);
|
||||
while ( $loop->have_posts() ) : $loop->the_post();
|
||||
?>
|
||||
<div class="img-text-holder specvideo">
|
||||
<div class="img-side">
|
||||
<?php
|
||||
if (get_field('code_dintegration_video') != '') {
|
||||
the_field('code_dintegration_video');
|
||||
} else {
|
||||
the_post_thumbnail('medium-large');
|
||||
}
|
||||
|
||||
?>
|
||||
</div>
|
||||
<div class="text-side">
|
||||
<h6><?php the_title(); ?></h6>
|
||||
<span class="marked-red">Publiée le <time datetime="2015-06-05"><?php echo get_the_date(); ?></time></span>
|
||||
<div class="divider"></div>
|
||||
<p><?php the_excerpt(); ?></p>
|
||||
<a href="<?php the_permalink(); ?>" class="bottom-r-link">Read more > </a>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
<div class="btn-holder">
|
||||
<a href="<?=custom_get_page_link(328);?>" class="button-red">All news</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="brands">
|
||||
<div class="container">
|
||||
<div class="carousel-holder">
|
||||
<h2 class="section-title
|
||||
marked-gold">OUR <span class="bold">BRANDS</span></h2>
|
||||
<div class="owl-carousel brands-carousel">
|
||||
<?php
|
||||
$pstary = get_posts( array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
<div class="text-side">
|
||||
<h6><?php the_title(); ?></h6>
|
||||
<span class="marked-red">Publiée le <time datetime="2015-06-05"><?php echo get_the_date(); ?></time></span>
|
||||
<div class="divider"></div>
|
||||
<p><?php the_excerpt(); ?></p>
|
||||
<a href="<?php the_permalink(); ?>" class="bottom-r-link">Read more > </a>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
<div class="btn-holder">
|
||||
<a href="<?php echo custom_get_page_link(328);?>" class="button-red">All news</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="brands">
|
||||
<div class="container">
|
||||
<div class="carousel-holder">
|
||||
<h2 class="section-title
|
||||
marked-gold">OUR <span class="bold">BRANDS</span></h2>
|
||||
<div class="owl-carousel brands-carousel">
|
||||
<?php
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$title = $result->post_title;
|
||||
$content = $result->post_content;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
?>
|
||||
<img src="<?php echo $url_img_array['url']; ?>" alt="<?=$title; ?>">
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$title = $result->post_title;
|
||||
$content = $result->post_content;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
?>
|
||||
<img src="<?php echo $url_img_array['url']; ?>" alt="<?php echo $title; ?>">
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="image-bg">
|
||||
<div class="container">
|
||||
<h2 class="section-title
|
||||
marked-middle-gray">OUR <span class="bold">CERTIFICATIONS</span></h2>
|
||||
<p>Within the target to offer the best, our sites are regularly controlled and accredited by recognised control organisations. </p>
|
||||
<div class="pictures-holder">
|
||||
<?php
|
||||
$count=1;
|
||||
$pstary = get_posts( array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'certification'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
if( count($pstary) > 0 )
|
||||
{
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
//var_dump(get_field("image_picto",$result->ID));
|
||||
$arrayImg = get_field("image_picto",$result->ID);
|
||||
$url = $arrayImg['sizes']['thumbnail'];
|
||||
?>
|
||||
<div class="picture-holder picture-<?=$count?>"><img src="<?php echo $url; ?>" alt="<?=$result->post_title?>"></div>
|
||||
<?php
|
||||
$count++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="image-bg">
|
||||
<div class="container">
|
||||
<h2 class="section-title
|
||||
marked-middle-gray">OUR <span class="bold">CERTIFICATIONS</span></h2>
|
||||
<p>Within the target to offer the best, our sites are regularly controlled and accredited by recognised control organisations. </p>
|
||||
<div class="pictures-holder">
|
||||
<?php
|
||||
$count=1;
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'certification'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
if(count($pstary) > 0 ) {
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
//var_dump(get_field("image_picto",$result->ID));
|
||||
$arrayImg = get_field("image_picto", $result->ID);
|
||||
$url = $arrayImg['sizes']['thumbnail'];
|
||||
?>
|
||||
<div class="picture-holder picture-<?php echo $count?>"><img src="<?php echo $url; ?>" alt="<?php echo $result->post_title?>"></div>
|
||||
<?php
|
||||
$count++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,159 +1,161 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: HomePageTemplate
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
||||
<?php masterslider(4); ?>
|
||||
<main id="main">
|
||||
<div id="content">
|
||||
<section class="accelerators-block">
|
||||
<div class="container">
|
||||
<div class="accelerators-holder">
|
||||
<a href="<?=get_permalink(369);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img1.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span>UNE HISTOIRE</span>
|
||||
<strong>DE TERRE</strong>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="<?=get_permalink(372);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img3.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span>UNE HISTOIRE</span>
|
||||
<strong>D’HOMMES</strong>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="<?=get_permalink(338);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img2.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span>UNE HISTOIRE</span>
|
||||
<strong>DE SAVOIR- FAIRE</strong>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="ornament-bg">
|
||||
<div class="container">
|
||||
<div class="content-wrapper">
|
||||
<h2 class="section-title
|
||||
marked-red">NOS <span class="bold">ACTUALITÉS</span></h2>
|
||||
<?php
|
||||
<div id="content">
|
||||
<section class="accelerators-block">
|
||||
<div class="container">
|
||||
<div class="accelerators-holder">
|
||||
<a href="<?php echo get_permalink(369);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img1.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span>UNE HISTOIRE</span>
|
||||
<strong>DE TERRE</strong>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="<?php echo get_permalink(372);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img3.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span>UNE HISTOIRE</span>
|
||||
<strong>D’HOMMES</strong>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="<?php echo get_permalink(338);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img2.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span>UNE HISTOIRE</span>
|
||||
<strong>DE SAVOIR- FAIRE</strong>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="ornament-bg">
|
||||
<div class="container">
|
||||
<div class="content-wrapper">
|
||||
<h2 class="section-title
|
||||
marked-red">NOS <span class="bold">ACTUALITÉS</span></h2>
|
||||
<?php
|
||||
|
||||
$args = array( 'post_type' => 'post', 'posts_per_page' => 1 );
|
||||
$loop = new WP_Query( $args );
|
||||
while ( $loop->have_posts() ) : $loop->the_post();
|
||||
?>
|
||||
<div class="img-text-holder specvideo">
|
||||
<div class="img-side">
|
||||
<?php
|
||||
if (get_field('code_dintegration_video') != '') {
|
||||
the_field('code_dintegration_video');
|
||||
} else {
|
||||
the_post_thumbnail('medium-large');
|
||||
}
|
||||
$args = array( 'post_type' => 'post', 'posts_per_page' => 1 );
|
||||
$loop = new WP_Query($args);
|
||||
while ( $loop->have_posts() ) : $loop->the_post();
|
||||
?>
|
||||
<div class="img-text-holder specvideo">
|
||||
<div class="img-side">
|
||||
<?php
|
||||
if (get_field('code_dintegration_video') != '') {
|
||||
the_field('code_dintegration_video');
|
||||
} else {
|
||||
the_post_thumbnail('medium-large');
|
||||
}
|
||||
|
||||
?>
|
||||
</div>
|
||||
<div class="text-side">
|
||||
<h6><?php the_title(); ?></h6>
|
||||
<span class="marked-red">Publiée le <time datetime="2015-06-05"><?php echo get_the_date(); ?></time></span>
|
||||
<div class="divider"></div>
|
||||
<p><?php the_excerpt(); ?></p>
|
||||
<a href="<?php the_permalink(); ?>" class="bottom-r-link">Lire la suite > </a>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
<div class="btn-holder">
|
||||
<a href="<?=get_permalink(328);?>" class="button-red">Toutes les actualités</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="brands">
|
||||
<div class="container">
|
||||
<div class="carousel-holder">
|
||||
<h2 class="section-title
|
||||
marked-gold">NOS <span class="bold">MARQUES</span></h2>
|
||||
<div class="owl-carousel brands-carousel">
|
||||
<?php
|
||||
$pstary = get_posts( array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
<div class="text-side">
|
||||
<h6><?php the_title(); ?></h6>
|
||||
<span class="marked-red">Publiée le <time datetime="2015-06-05"><?php echo get_the_date(); ?></time></span>
|
||||
<div class="divider"></div>
|
||||
<p><?php the_excerpt(); ?></p>
|
||||
<a href="<?php the_permalink(); ?>" class="bottom-r-link">Lire la suite > </a>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
<div class="btn-holder">
|
||||
<a href="<?php echo get_permalink(328);?>" class="button-red">Toutes les actualités</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="brands">
|
||||
<div class="container">
|
||||
<div class="carousel-holder">
|
||||
<h2 class="section-title
|
||||
marked-gold">NOS <span class="bold">MARQUES</span></h2>
|
||||
<div class="owl-carousel brands-carousel">
|
||||
<?php
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$title = $result->post_title;
|
||||
$content = $result->post_content;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
?>
|
||||
<img src="<?php echo $url_img_array['url']; ?>" alt="<?=$title; ?>">
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$title = $result->post_title;
|
||||
$content = $result->post_content;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
?>
|
||||
<img src="<?php echo $url_img_array['url']; ?>" alt="<?php echo $title; ?>">
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="image-bg">
|
||||
<div class="container">
|
||||
<h2 class="section-title
|
||||
marked-middle-gray">NOS <span class="bold">CERTIFICATIONS</span></h2>
|
||||
<p>Soucieux de vous offrir le meilleur, les sites de production sont contrôlés et accrédités régulièrement par des organismes de contrôle reconnus. </p>
|
||||
<div class="pictures-holder">
|
||||
<?php
|
||||
$count=1;
|
||||
$pstary = get_posts( array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'certification'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
if( count($pstary) > 0 )
|
||||
{
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
//var_dump(get_field("image_picto",$result->ID));
|
||||
$arrayImg = get_field("image_picto",$result->ID);
|
||||
$url = $arrayImg['sizes']['thumbnail'];
|
||||
?>
|
||||
<div class="picture-holder picture-<?=$count?>"><img src="<?php echo $url; ?>" alt="<?=$result->post_title?>"></div>
|
||||
<?php
|
||||
$count++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="image-bg">
|
||||
<div class="container">
|
||||
<h2 class="section-title
|
||||
marked-middle-gray">NOS <span class="bold">CERTIFICATIONS</span></h2>
|
||||
<p>Soucieux de vous offrir le meilleur, les sites de production sont contrôlés et accrédités régulièrement par des organismes de contrôle reconnus. </p>
|
||||
<div class="pictures-holder">
|
||||
<?php
|
||||
$count=1;
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'certification'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
if(count($pstary) > 0 ) {
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
//var_dump(get_field("image_picto",$result->ID));
|
||||
$arrayImg = get_field("image_picto", $result->ID);
|
||||
$url = $arrayImg['sizes']['thumbnail'];
|
||||
?>
|
||||
<div class="picture-holder picture-<?php echo $count?>"><img src="<?php echo $url; ?>" alt="<?php echo $result->post_title?>"></div>
|
||||
<?php
|
||||
$count++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -6,12 +6,13 @@ Theme Options Comes Here
|
|||
|
||||
/* Admin Scripts for Media Upload */
|
||||
add_action('admin_enqueue_scripts', 'my_media_scripts');
|
||||
function my_media_scripts() {
|
||||
if (isset($_GET['page']) && $_GET['page'] == 'theme_options') {
|
||||
wp_enqueue_media();
|
||||
wp_register_script('my_media_uploader', get_bloginfo('template_directory'). '/js/my_media_uploader.js', array('jquery'));
|
||||
wp_enqueue_script('my_media_uploader');
|
||||
}
|
||||
function my_media_scripts()
|
||||
{
|
||||
if (isset($_GET['page']) && $_GET['page'] == 'theme_options') {
|
||||
wp_enqueue_media();
|
||||
wp_register_script('my_media_uploader', get_bloginfo('template_directory'). '/js/my_media_uploader.js', array('jquery'));
|
||||
wp_enqueue_script('my_media_uploader');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,63 +2,66 @@
|
|||
|
||||
// picto manage
|
||||
|
||||
function create_picto() {
|
||||
function create_picto()
|
||||
{
|
||||
|
||||
register_post_type( 'picto',
|
||||
array(
|
||||
'labels' => array(
|
||||
'name' => __( 'picto' ),
|
||||
'singular_name' => __( 'Picto' )
|
||||
),
|
||||
'public' => true,
|
||||
'has_archive' => true,
|
||||
'rewrite' => array('slug' => 'picto'),
|
||||
)
|
||||
);
|
||||
register_post_type(
|
||||
'picto',
|
||||
array(
|
||||
'labels' => array(
|
||||
'name' => __('picto'),
|
||||
'singular_name' => __('Picto')
|
||||
),
|
||||
'public' => true,
|
||||
'has_archive' => true,
|
||||
'rewrite' => array('slug' => 'picto'),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
add_action( 'init', 'create_picto' );
|
||||
add_action('init', 'create_picto');
|
||||
|
||||
function custom_picto() {
|
||||
$labels = array(
|
||||
'name' => _x( 'picto', 'Post Type General Name', 'twentythirteen' ),
|
||||
'singular_name' => _x( 'Picto', 'Post Type Singular Name', 'twentythirteen' ),
|
||||
'menu_name' => __( 'Picto', 'twentythirteen' ),
|
||||
'parent_item_colon' => '',
|
||||
'all_items' => __( 'All', 'twentythirteen' ),
|
||||
'view_item' => __( 'View', 'twentythirteen' ),
|
||||
'add_new_item' => __( 'Add New', 'twentythirteen' ),
|
||||
'add_new' => __( 'Add New', 'twentythirteen' ),
|
||||
'edit_item' => __( 'Edit', 'twentythirteen' ),
|
||||
'update_item' => __( 'Update', 'twentythirteen' ),
|
||||
'search_items' => __( 'Search', 'twentythirteen' ),
|
||||
'not_found' => __( 'Not Found', 'twentythirteen' ),
|
||||
'not_found_in_trash' => __( 'Not found in Trash', 'twentythirteen' ),
|
||||
);
|
||||
function custom_picto()
|
||||
{
|
||||
$labels = array(
|
||||
'name' => _x('picto', 'Post Type General Name', 'twentythirteen'),
|
||||
'singular_name' => _x('Picto', 'Post Type Singular Name', 'twentythirteen'),
|
||||
'menu_name' => __('Picto', 'twentythirteen'),
|
||||
'parent_item_colon' => '',
|
||||
'all_items' => __('All', 'twentythirteen'),
|
||||
'view_item' => __('View', 'twentythirteen'),
|
||||
'add_new_item' => __('Add New', 'twentythirteen'),
|
||||
'add_new' => __('Add New', 'twentythirteen'),
|
||||
'edit_item' => __('Edit', 'twentythirteen'),
|
||||
'update_item' => __('Update', 'twentythirteen'),
|
||||
'search_items' => __('Search', 'twentythirteen'),
|
||||
'not_found' => __('Not Found', 'twentythirteen'),
|
||||
'not_found_in_trash' => __('Not found in Trash', 'twentythirteen'),
|
||||
);
|
||||
|
||||
$args = array(
|
||||
'label' => __( 'Picto', 'twentythirteen' ),
|
||||
'description' => __( '', 'twentythirteen' ),
|
||||
'labels' => $labels,
|
||||
'supports' => array( 'title', 'editor', '', '', 'thumbnail', '', '', ''),
|
||||
'taxonomies' => array('post_tag'),
|
||||
'hierarchical' => false,
|
||||
'public' => true,
|
||||
'show_ui' => true,
|
||||
'show_in_menu' => true,
|
||||
'show_in_nav_menus' => true,
|
||||
'show_in_admin_bar' => true,
|
||||
'menu_position' => 3,
|
||||
'can_export' => true,
|
||||
'has_archive' => true,
|
||||
'exclude_from_search' => false,
|
||||
'publicly_queryable' => true,
|
||||
'capability_type' => 'page',
|
||||
);
|
||||
$args = array(
|
||||
'label' => __('Picto', 'twentythirteen'),
|
||||
'description' => __('', 'twentythirteen'),
|
||||
'labels' => $labels,
|
||||
'supports' => array( 'title', 'editor', '', '', 'thumbnail', '', '', ''),
|
||||
'taxonomies' => array('post_tag'),
|
||||
'hierarchical' => false,
|
||||
'public' => true,
|
||||
'show_ui' => true,
|
||||
'show_in_menu' => true,
|
||||
'show_in_nav_menus' => true,
|
||||
'show_in_admin_bar' => true,
|
||||
'menu_position' => 3,
|
||||
'can_export' => true,
|
||||
'has_archive' => true,
|
||||
'exclude_from_search' => false,
|
||||
'publicly_queryable' => true,
|
||||
'capability_type' => 'page',
|
||||
);
|
||||
|
||||
register_post_type( 'picto', $args );
|
||||
register_post_type('picto', $args);
|
||||
}
|
||||
|
||||
add_action( 'init', 'custom_picto', 0 );
|
||||
add_action('init', 'custom_picto', 0);
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,53 +1,56 @@
|
|||
<?php
|
||||
|
||||
// ---- CPT Métiers
|
||||
function wp_cpt_metiers() {
|
||||
$labels = array(
|
||||
'name' => _x( 'Métiers', 'Post Type General Name'),
|
||||
'singular_name' => _x( 'Métier', 'Post Type Singular Name'),
|
||||
'menu_name' => __( 'Métiers'),
|
||||
'all_items' => __( 'Toutes les métiers'),
|
||||
'view_item' => __( 'Voir les métiers'),
|
||||
'add_new_item' => __( 'Ajouter un métier'),
|
||||
'add_new' => __( 'Ajouter'),
|
||||
'edit_item' => __( 'Editer le métier'),
|
||||
'update_item' => __( 'Modifier le métier'),
|
||||
'search_items' => __( 'Rechercher un métier'),
|
||||
'not_found' => __( 'Non trouvé'),
|
||||
'not_found_in_trash' => __( 'Non trouvé dans la corbeille'),
|
||||
);
|
||||
function wp_cpt_metiers()
|
||||
{
|
||||
$labels = array(
|
||||
'name' => _x('Métiers', 'Post Type General Name'),
|
||||
'singular_name' => _x('Métier', 'Post Type Singular Name'),
|
||||
'menu_name' => __('Métiers'),
|
||||
'all_items' => __('Toutes les métiers'),
|
||||
'view_item' => __('Voir les métiers'),
|
||||
'add_new_item' => __('Ajouter un métier'),
|
||||
'add_new' => __('Ajouter'),
|
||||
'edit_item' => __('Editer le métier'),
|
||||
'update_item' => __('Modifier le métier'),
|
||||
'search_items' => __('Rechercher un métier'),
|
||||
'not_found' => __('Non trouvé'),
|
||||
'not_found_in_trash' => __('Non trouvé dans la corbeille'),
|
||||
);
|
||||
|
||||
$args = array(
|
||||
'label' => __( 'Métiers'),
|
||||
'labels' => $labels,
|
||||
'supports' => array( 'title', 'editor'),
|
||||
'hierarchical' => false,
|
||||
'public' => true,
|
||||
'has_archive' => false,
|
||||
'rewrite' => array( 'slug' => 'nos-metiers'),
|
||||
'menu_icon' => 'dashicons-businessman'
|
||||
);
|
||||
$args = array(
|
||||
'label' => __('Métiers'),
|
||||
'labels' => $labels,
|
||||
'supports' => array( 'title', 'editor'),
|
||||
'hierarchical' => false,
|
||||
'public' => true,
|
||||
'has_archive' => false,
|
||||
'rewrite' => array( 'slug' => 'nos-metiers'),
|
||||
'menu_icon' => 'dashicons-businessman'
|
||||
);
|
||||
|
||||
register_post_type( 'cpt_metiers', $args );
|
||||
register_post_type('cpt_metiers', $args);
|
||||
}
|
||||
add_action( 'init', 'wp_cpt_metiers', 0 );
|
||||
add_action('init', 'wp_cpt_metiers', 0);
|
||||
|
||||
// ---- Taxo : Catégories de métier
|
||||
function taxo_familles_metiers() {
|
||||
function taxo_familles_metiers()
|
||||
{
|
||||
$args = array(
|
||||
'label' => __( 'Familles' ),
|
||||
'label' => __('Familles'),
|
||||
'hierarchical' => true,
|
||||
'rewrite' => array( 'slug' => 'metiers'),
|
||||
'show_admin_column' => true,
|
||||
'meta_box_cb' => false
|
||||
'show_admin_column' => true,
|
||||
'meta_box_cb' => false
|
||||
);
|
||||
register_taxonomy( 'familles_metiers',array( 'cpt_metiers'), $args );
|
||||
register_taxonomy('familles_metiers', array( 'cpt_metiers'), $args);
|
||||
}
|
||||
add_action( 'init', 'taxo_familles_metiers');
|
||||
add_action('init', 'taxo_familles_metiers');
|
||||
|
||||
// ---- Supprime Yoast du CPT
|
||||
function remove_yoast_cpt() {
|
||||
remove_meta_box('wpseo_meta', "cpt_metiers", 'normal');
|
||||
function remove_yoast_cpt()
|
||||
{
|
||||
remove_meta_box('wpseo_meta', "cpt_metiers", 'normal');
|
||||
}
|
||||
add_action('add_meta_boxes', 'remove_yoast_cpt', 100);
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,18 @@
|
|||
<?php
|
||||
|
||||
/** Pour la gestion des menu de navigation du site */
|
||||
add_action( 'init', 'register_my_menus' );
|
||||
/**
|
||||
*
|
||||
* Pour la gestion des menu de navigation du site
|
||||
*/
|
||||
add_action('init', 'register_my_menus');
|
||||
|
||||
function register_my_menus() {
|
||||
register_nav_menus(
|
||||
array(
|
||||
'navigation' => __( 'Top Menu Navigation' ),
|
||||
'navigation-middle' => __( 'Middle Menu Navigation' ),
|
||||
)
|
||||
);
|
||||
function register_my_menus()
|
||||
{
|
||||
register_nav_menus(
|
||||
array(
|
||||
'navigation' => __('Top Menu Navigation'),
|
||||
'navigation-middle' => __('Middle Menu Navigation'),
|
||||
)
|
||||
);
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,30 +1,39 @@
|
|||
<?php
|
||||
/** Gestion des sidebar du site */
|
||||
if ( function_exists('register_sidebar') ) {
|
||||
register_sidebar(array(
|
||||
'name' => __( 'Sidebar', 'Custom Design' ),
|
||||
'id' => 'sidebar',
|
||||
'before_widget' => '',
|
||||
'after_widget' => '',
|
||||
'before_title' => '',
|
||||
'after_title' => '',
|
||||
) );
|
||||
register_sidebar(array(
|
||||
'name' => __( 'Banner Area', 'Custom Design' ),
|
||||
'id' => 'banner_area',
|
||||
'before_widget' => '',
|
||||
'after_widget' => '',
|
||||
'before_title' => '',
|
||||
'after_title' => '',
|
||||
) );
|
||||
register_sidebar(array(
|
||||
'name' => __( 'Footer Newsletter', 'Custom Design' ),
|
||||
'id' => 'footer_area',
|
||||
'before_widget' => '',
|
||||
'after_widget' => '',
|
||||
'before_title' => '',
|
||||
'after_title' => '',
|
||||
) );
|
||||
/**
|
||||
*
|
||||
* Gestion des sidebar du site
|
||||
*/
|
||||
if (function_exists('register_sidebar') ) {
|
||||
register_sidebar(
|
||||
array(
|
||||
'name' => __('Sidebar', 'Custom Design'),
|
||||
'id' => 'sidebar',
|
||||
'before_widget' => '',
|
||||
'after_widget' => '',
|
||||
'before_title' => '',
|
||||
'after_title' => '',
|
||||
)
|
||||
);
|
||||
register_sidebar(
|
||||
array(
|
||||
'name' => __('Banner Area', 'Custom Design'),
|
||||
'id' => 'banner_area',
|
||||
'before_widget' => '',
|
||||
'after_widget' => '',
|
||||
'before_title' => '',
|
||||
'after_title' => '',
|
||||
)
|
||||
);
|
||||
register_sidebar(
|
||||
array(
|
||||
'name' => __('Footer Newsletter', 'Custom Design'),
|
||||
'id' => 'footer_area',
|
||||
'before_widget' => '',
|
||||
'after_widget' => '',
|
||||
'before_title' => '',
|
||||
'after_title' => '',
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,18 @@
|
|||
<?php
|
||||
/** Gestion des miniatures des post dans le thème */
|
||||
add_theme_support( 'post-thumbnails' );
|
||||
/**
|
||||
*
|
||||
* Gestion des miniatures des post dans le thème
|
||||
*/
|
||||
add_theme_support('post-thumbnails');
|
||||
|
||||
/** Relocalise le fichier feed-rss2.php afin d'utiliser celui contenu dans le thème.
|
||||
Celui-ci a été modifié afin de supprimer le login de l'administrateur dans le flux RSS */
|
||||
function create_my_custom_feed() {
|
||||
load_template( TEMPLATEPATH . '/feed-rss2.php');
|
||||
/**
|
||||
*
|
||||
* Relocalise le fichier feed-rss2.php afin d'utiliser celui contenu dans le thème.
|
||||
Celui-ci a été modifié afin de supprimer le login de l'administrateur dans le flux RSS
|
||||
*/
|
||||
function create_my_custom_feed()
|
||||
{
|
||||
load_template(TEMPLATEPATH . '/feed-rss2.php');
|
||||
}
|
||||
add_feed('rss2', 'create_my_custom_feed');
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -2,15 +2,16 @@
|
|||
|
||||
//----- BANDEAUX
|
||||
// ---- Pour modifier le répertoire d'upload par défaut
|
||||
function my_acf_upload_prefilter( $errors, $file, $field ) {
|
||||
function my_acf_upload_prefilter( $errors, $file, $field )
|
||||
{
|
||||
|
||||
// only allow admin
|
||||
if( !current_user_can('manage_options') ) {
|
||||
if(!current_user_can('manage_options') ) {
|
||||
|
||||
// this returns value to the wp uploader UI
|
||||
// if you remove the ! you can see the returned values
|
||||
$errors[] = 'test prefilter';
|
||||
$errors[] = print_r($_FILES,true);
|
||||
$errors[] = print_r($_FILES, true);
|
||||
$errors[] = $_FILES['async-upload']['name'] ;
|
||||
|
||||
}
|
||||
|
|
@ -27,7 +28,8 @@ add_filter('acf/upload_prefilter/name=gelab_bandeau', 'my_acf_upload_prefilter')
|
|||
add_filter('acf/upload_prefilter/name=product_bandeau', 'my_acf_upload_prefilter');
|
||||
add_filter('acf/upload_prefilter/name=volcat_bandeau', 'my_acf_upload_prefilter');
|
||||
|
||||
function my_upload_directory( $param ){
|
||||
function my_upload_directory( $param )
|
||||
{
|
||||
$mydir = '/bandeau';
|
||||
|
||||
$param['path'] = $param['basedir'] . $mydir;
|
||||
|
|
@ -37,12 +39,13 @@ function my_upload_directory( $param ){
|
|||
}
|
||||
|
||||
|
||||
function secure_files_field_display( $field ) {
|
||||
// update paths accordingly before displaying link to file
|
||||
add_filter( 'upload_dir', 'my_upload_directory' );
|
||||
return $field;
|
||||
function secure_files_field_display( $field )
|
||||
{
|
||||
// update paths accordingly before displaying link to file
|
||||
add_filter('upload_dir', 'my_upload_directory');
|
||||
return $field;
|
||||
}
|
||||
add_filter( "acf/prepare_field/name=vlr_bandeau", "secure_files_field_display" );
|
||||
add_filter("acf/prepare_field/name=vlr_bandeau", "secure_files_field_display");
|
||||
add_filter('acf/prepare_field/name=vc_bandeau', 'secure_files_field_display');
|
||||
add_filter('acf/prepare_field/name=gelab_bandeau', 'secure_files_field_display');
|
||||
add_filter('acf/prepare_field/name=product_bandeau', 'secure_files_field_display');
|
||||
|
|
@ -50,15 +53,16 @@ add_filter('acf/prepare_field/name=product_bandeau', 'secure_files_field_display
|
|||
//---- PICTO
|
||||
|
||||
// ---- Pour modifier le répertoire d'upload par défaut
|
||||
function my_acf_uploadpicto_prefilter( $errors, $file, $field ) {
|
||||
function my_acf_uploadpicto_prefilter( $errors, $file, $field )
|
||||
{
|
||||
|
||||
// only allow admin
|
||||
if( !current_user_can('manage_options') ) {
|
||||
if(!current_user_can('manage_options') ) {
|
||||
|
||||
// this returns value to the wp uploader UI
|
||||
// if you remove the ! you can see the returned values
|
||||
$errors[] = 'test prefilter';
|
||||
$errors[] = print_r($_FILES,true);
|
||||
$errors[] = print_r($_FILES, true);
|
||||
$errors[] = $_FILES['async-upload']['name'] ;
|
||||
|
||||
}
|
||||
|
|
@ -71,7 +75,8 @@ function my_acf_uploadpicto_prefilter( $errors, $file, $field ) {
|
|||
}
|
||||
add_filter('acf/upload_prefilter/name=picto_img', 'my_acf_uploadpicto_prefilter');
|
||||
|
||||
function my_uploadpicto_directory( $param ){
|
||||
function my_uploadpicto_directory( $param )
|
||||
{
|
||||
$mydir = '/picto';
|
||||
|
||||
$param['path'] = $param['basedir'] . $mydir;
|
||||
|
|
@ -83,26 +88,28 @@ function my_uploadpicto_directory( $param ){
|
|||
|
||||
|
||||
|
||||
function secure_files_fieldpicto_display( $field ) {
|
||||
// update paths accordingly before displaying link to file
|
||||
add_filter( 'upload_dir', 'my_uploadpicto_directory' );
|
||||
return $field;
|
||||
function secure_files_fieldpicto_display( $field )
|
||||
{
|
||||
// update paths accordingly before displaying link to file
|
||||
add_filter('upload_dir', 'my_uploadpicto_directory');
|
||||
return $field;
|
||||
}
|
||||
add_filter( "acf/prepare_field/name=picto_img", "secure_files_field_display" );
|
||||
add_filter("acf/prepare_field/name=picto_img", "secure_files_field_display");
|
||||
|
||||
|
||||
//---- PRODUCTS
|
||||
|
||||
// ---- Pour modifier le répertoire d'upload par défaut
|
||||
function my_acf_uploadproducts_prefilter( $errors, $file, $field ) {
|
||||
function my_acf_uploadproducts_prefilter( $errors, $file, $field )
|
||||
{
|
||||
|
||||
// only allow admin
|
||||
if( !current_user_can('manage_options') ) {
|
||||
if(!current_user_can('manage_options') ) {
|
||||
|
||||
// this returns value to the wp uploader UI
|
||||
// if you remove the ! you can see the returned values
|
||||
$errors[] = 'test prefilter';
|
||||
$errors[] = print_r($_FILES,true);
|
||||
$errors[] = print_r($_FILES, true);
|
||||
$errors[] = $_FILES['async-upload']['name'] ;
|
||||
|
||||
}
|
||||
|
|
@ -116,7 +123,8 @@ function my_acf_uploadproducts_prefilter( $errors, $file, $field ) {
|
|||
add_filter('acf/upload_prefilter/name=image_elabore', 'my_acf_uploadproducts_prefilter');
|
||||
add_filter('acf/upload_prefilter/name=product_img', 'my_acf_uploadproducts_prefilter');
|
||||
|
||||
function my_uploadproducts_directory( $param ){
|
||||
function my_uploadproducts_directory( $param )
|
||||
{
|
||||
$mydir = '/products';
|
||||
|
||||
$param['path'] = $param['basedir'] . $mydir;
|
||||
|
|
@ -128,12 +136,13 @@ function my_uploadproducts_directory( $param ){
|
|||
|
||||
|
||||
|
||||
function secure_files_fieldproducts_display( $field ) {
|
||||
// update paths accordingly before displaying link to file
|
||||
add_filter( 'upload_dir', 'my_uploadproducts_directory' );
|
||||
return $field;
|
||||
function secure_files_fieldproducts_display( $field )
|
||||
{
|
||||
// update paths accordingly before displaying link to file
|
||||
add_filter('upload_dir', 'my_uploadproducts_directory');
|
||||
return $field;
|
||||
}
|
||||
add_filter( "acf/prepare_field/name=image_elabore", "secure_files_fieldproducts_display" );
|
||||
add_filter( "acf/prepare_field/name=product_img", "secure_files_fieldproducts_display" );
|
||||
add_filter("acf/prepare_field/name=image_elabore", "secure_files_fieldproducts_display");
|
||||
add_filter("acf/prepare_field/name=product_img", "secure_files_fieldproducts_display");
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
/**
|
||||
* Theme Name: LDC
|
||||
* Description: Website designed by vineeth
|
||||
*/
|
||||
* Theme Name: LDC
|
||||
* Description: Website designed by vineeth
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
||||
<?php masterslider(4); ?>
|
||||
|
|
@ -11,7 +11,7 @@ get_header(); ?>
|
|||
<section class="accelerators-block">
|
||||
<div class="container">
|
||||
<div class="accelerators-holder">
|
||||
<a href="<?=get_permalink(369);?>" class="accelerator">
|
||||
<a href="<?php echo get_permalink(369);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img1.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
|
|
@ -20,7 +20,7 @@ get_header(); ?>
|
|||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="<?=get_permalink(372);?>" class="accelerator">
|
||||
<a href="<?php echo get_permalink(372);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img3.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
|
|
@ -29,7 +29,7 @@ get_header(); ?>
|
|||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="<?=get_permalink(338);?>" class="accelerator">
|
||||
<a href="<?php echo get_permalink(338);?>" class="accelerator">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/une-histoire-img2.jpg" class="grayscale grayscale-fade" alt="une-histoire">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
|
|
@ -49,9 +49,9 @@ get_header(); ?>
|
|||
<?php
|
||||
|
||||
$args = array( 'post_type' => 'post', 'posts_per_page' => 1 );
|
||||
$loop = new WP_Query( $args );
|
||||
$loop = new WP_Query($args);
|
||||
while ( $loop->have_posts() ) : $loop->the_post();
|
||||
?>
|
||||
?>
|
||||
<div class="img-text-holder">
|
||||
<div class="img-side">
|
||||
<?php the_post_thumbnail('medium-large'); ?>
|
||||
|
|
@ -66,7 +66,7 @@ get_header(); ?>
|
|||
</div>
|
||||
<?php endwhile; ?>
|
||||
<div class="btn-holder">
|
||||
<a href="<?=get_permalink(328);?>" class="button-red">Toutes les actualités</a>
|
||||
<a href="<?php echo get_permalink(328);?>" class="button-red">Toutes les actualités</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -78,31 +78,32 @@ get_header(); ?>
|
|||
marked-gold">NOS <span class="bold">MARQUES</span></h2>
|
||||
<div class="owl-carousel brands-carousel">
|
||||
<?php
|
||||
$pstary = get_posts( array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$title = $result->post_title;
|
||||
$content = $result->post_content;
|
||||
$url_img = get_field('image_picto', $id);
|
||||
?>
|
||||
<img src="<?php echo $url_img; ?>" alt="<?=$title; ?>">
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$title = $result->post_title;
|
||||
$content = $result->post_content;
|
||||
$url_img = get_field('image_picto', $id);
|
||||
?>
|
||||
<img src="<?php echo $url_img; ?>" alt="<?php echo $title; ?>">
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -116,31 +117,31 @@ get_header(); ?>
|
|||
<div class="pictures-holder">
|
||||
<?php
|
||||
$count=1;
|
||||
$pstary = get_posts( array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'certification'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
if( count($pstary) > 0 )
|
||||
{
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
?>
|
||||
<div class="picture-holder picture-<?=$count?>"><img src="<?php the_field("image_picto",$result->ID); ?>" alt="<?=$result->post_title?>"></div>
|
||||
<?php
|
||||
$count++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
if(count($pstary) > 0 ) {
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
?>
|
||||
<div class="picture-holder picture-<?php echo $count?>"><img src="<?php the_field("image_picto", $result->ID); ?>" alt="<?php echo $result->post_title?>"></div>
|
||||
<?php
|
||||
$count++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
class LdcwebCn {
|
||||
|
||||
constructor(config) {
|
||||
constructor(config)
|
||||
{
|
||||
this.config = config;
|
||||
this.cookieContainer = document.getElementById('ldcweb-cn');
|
||||
this.bannerContainer = document.getElementById('ldcweb-banner');
|
||||
|
|
@ -34,12 +35,14 @@ class LdcwebCn {
|
|||
this.cookieContainer.classList.add('open-banner');
|
||||
} else {
|
||||
let test = cookies.split(',');
|
||||
test.forEach(elm => {
|
||||
let test = elm.split('=');
|
||||
if (test[1] === 'wait') {
|
||||
this.cookieContainer.classList.add('open-banner');
|
||||
test.forEach(
|
||||
elm => {
|
||||
let test = elm.split('=');
|
||||
if (test[1] === 'wait') {
|
||||
this.cookieContainer.classList.add('open-banner');
|
||||
}
|
||||
}
|
||||
});
|
||||
);
|
||||
}
|
||||
this.modalCloseBtn.addEventListener(
|
||||
'click',
|
||||
|
|
@ -124,24 +127,27 @@ class LdcwebCn {
|
|||
|
||||
let cookie = this.getLDCWebCookie('ldcwebcn-init');
|
||||
let test = cookie.split(',');
|
||||
test.forEach(elm => {
|
||||
let test = elm.split('=');
|
||||
if (test[1] === 'true') {
|
||||
this.config[test[0]].script();
|
||||
}else{
|
||||
if (this.config[test[0]].fallback !== undefined){
|
||||
this.config[test[0]].fallback();
|
||||
test.forEach(
|
||||
elm => {
|
||||
let test = elm.split('=');
|
||||
if (test[1] === 'true') {
|
||||
this.config[test[0]].script();
|
||||
}else{
|
||||
if (this.config[test[0]].fallback !== undefined) {
|
||||
this.config[test[0]].fallback();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
);
|
||||
|
||||
this.updateAllCookiesButtonsActiveStatus();
|
||||
}
|
||||
|
||||
setCookieList() {
|
||||
setCookieList()
|
||||
{
|
||||
this.cookiesList.innerHTML = "";
|
||||
let cookiesSite = this.getLDCWebCookie('ldcwebcn-init');
|
||||
let acceptInputEvent = function(acceptLabel, denyLabel, key, value) {
|
||||
let acceptInputEvent = function (acceptLabel, denyLabel, key, value) {
|
||||
return function (e) {
|
||||
acceptLabel.classList.add('active');
|
||||
denyLabel.classList.remove('active');
|
||||
|
|
@ -149,7 +155,7 @@ class LdcwebCn {
|
|||
this.addCookie(key, value);
|
||||
}.bind(this, [acceptLabel, denyLabel, key, value]);
|
||||
};
|
||||
let denyInputEvent = function(acceptLabel, denyLabel, key, value) {
|
||||
let denyInputEvent = function (acceptLabel, denyLabel, key, value) {
|
||||
return function (e) {
|
||||
acceptLabel.classList.remove('active');
|
||||
denyLabel.classList.add('active');
|
||||
|
|
@ -195,11 +201,11 @@ class LdcwebCn {
|
|||
acceptLabel.classList.remove('active');
|
||||
denyLabel.classList.remove('active');
|
||||
switch (status) {
|
||||
case 'true':
|
||||
acceptLabel.classList.add('active');
|
||||
case 'true':
|
||||
acceptLabel.classList.add('active');
|
||||
break;
|
||||
case 'false':
|
||||
denyLabel.classList.add('active');
|
||||
case 'false':
|
||||
denyLabel.classList.add('active');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -213,7 +219,8 @@ class LdcwebCn {
|
|||
this.setListenerOnChange();
|
||||
}
|
||||
|
||||
updateAllCookiesButtonsActiveStatus() {
|
||||
updateAllCookiesButtonsActiveStatus()
|
||||
{
|
||||
let acceptsButtons = this.cookieContainer.querySelectorAll('div.accept > label');
|
||||
let deniesButtons = this.cookieContainer.querySelectorAll('div.deny > label');
|
||||
let activeAcceptsButtons = this.cookieContainer.querySelectorAll('div.accept > label.active');
|
||||
|
|
@ -229,14 +236,16 @@ class LdcwebCn {
|
|||
}
|
||||
}
|
||||
|
||||
addCookie(key, value) {
|
||||
addCookie(key, value)
|
||||
{
|
||||
if (value.script) {
|
||||
value.script();
|
||||
}
|
||||
this.changeStatus(key, "true");
|
||||
}
|
||||
|
||||
removeCookie(key, value) {
|
||||
removeCookie(key, value)
|
||||
{
|
||||
for (let cookieName of value.cookies) {
|
||||
this.deleteBrowserCookie(cookieName, "/", "." + location.host);
|
||||
}
|
||||
|
|
@ -245,9 +254,10 @@ class LdcwebCn {
|
|||
}
|
||||
this.changeStatus(key, "false");
|
||||
}
|
||||
setListenerOnChange() {
|
||||
setListenerOnChange()
|
||||
{
|
||||
this.changeBtn = document.getElementsByClassName('ldcweb-cn-change');
|
||||
let itemClick = function(item) {
|
||||
let itemClick = function (item) {
|
||||
return function () {
|
||||
this.changeStatus(item.getAttribute('data-name'), item.getAttribute('data-status'));
|
||||
}.bind(this);
|
||||
|
|
@ -261,33 +271,39 @@ class LdcwebCn {
|
|||
}
|
||||
}
|
||||
|
||||
changeStatus(name, status) {
|
||||
changeStatus(name, status)
|
||||
{
|
||||
let newCookie = [];
|
||||
|
||||
let cookie = this.getLDCWebCookie('ldcwebcn-init');
|
||||
let test = cookie.split(',');
|
||||
test.forEach(elm => {
|
||||
let test = elm.split('=');
|
||||
test.forEach(
|
||||
elm => {
|
||||
let test = elm.split('=');
|
||||
if (test[0] === name) {
|
||||
newCookie.push(name + "=" + status);
|
||||
if (status === 'false') {
|
||||
this.config[test[0]].cookies.forEach(elm => {
|
||||
this.config[test[0]].cookies.forEach(
|
||||
elm => {
|
||||
let cookies = this.getLDCWebCookie(elm);
|
||||
if (cookies !== undefined) {
|
||||
document.cookie = elm + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; domain=" + document.domain + "; path=/";
|
||||
document.cookie = elm + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; domain=." + document.domain + "; path=/";
|
||||
}
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
} else {
|
||||
newCookie.push(elm);
|
||||
newCookie.push(elm);
|
||||
}
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
this.saveLDCWebCookie(newCookie);
|
||||
}
|
||||
|
||||
deleteBrowserCookie(name, path, domain) {
|
||||
deleteBrowserCookie(name, path, domain)
|
||||
{
|
||||
if (this.getLDCWebCookie(name)) {
|
||||
document.cookie = name + "=" +
|
||||
((path) ? ";path=" + path : "") +
|
||||
|
|
@ -296,27 +312,34 @@ class LdcwebCn {
|
|||
}
|
||||
}
|
||||
|
||||
getLDCWebCookie(name) {
|
||||
let matches = document.cookie.match(new RegExp(
|
||||
"(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"
|
||||
));
|
||||
getLDCWebCookie(name)
|
||||
{
|
||||
let matches = document.cookie.match(
|
||||
new RegExp(
|
||||
"(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"
|
||||
)
|
||||
);
|
||||
return matches ? decodeURIComponent(matches[1]) : undefined;
|
||||
}
|
||||
|
||||
addEvent(element, evnt, funct) {
|
||||
if (element.attachEvent)
|
||||
addEvent(element, evnt, funct)
|
||||
{
|
||||
if (element.attachEvent) {
|
||||
return element.attachEvent('on' + evnt, funct);
|
||||
else
|
||||
} else {
|
||||
return element.addEventListener(evnt, funct, false);
|
||||
}
|
||||
}
|
||||
|
||||
saveLDCWebCookie(content) {
|
||||
saveLDCWebCookie(content)
|
||||
{
|
||||
let date = new Date();
|
||||
let newDate = new Date(date.setMonth(date.getMonth() + 13));
|
||||
document.cookie = "ldcwebcn-init=" + content + "; expires=" + newDate.toUTCString() + "; path=/;";
|
||||
}
|
||||
|
||||
openModal() {
|
||||
openModal()
|
||||
{
|
||||
this.setCookieList();
|
||||
this.updateAllCookiesButtonsActiveStatus();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Long Text Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -10,7 +11,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner', $post->ID) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php pll_e('Accueil') ?></a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>"><?php pll_e('Accueil') ?></a></li>
|
||||
<li><?php echo $post->post_title ?></li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
|
|
@ -27,7 +28,7 @@ get_header(); ?>
|
|||
<?php
|
||||
$content = apply_filters('the_content', $post->post_content);
|
||||
echo $content;
|
||||
?>
|
||||
?>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Nos Marques EN Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -8,7 +9,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner', 405) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Home</a></li>
|
||||
<li>Our brands</li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
|
|
@ -30,53 +31,53 @@ get_header(); ?>
|
|||
<div class="text-wrapper brand-wrapper">
|
||||
<p class="bold headBrand">Our brands and solutions for commercial and institutional catering establishments:</p>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/pouletoque-150x150.png" alt="Domaine de Lanvaux" />
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'>POULE et TOQUE : </span>The poultry brand dedicated to catering professionals for everyday menus.
|
||||
</p>
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/pouletoque-150x150.png" alt="Domaine de Lanvaux" />
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'>POULE et TOQUE : </span>The poultry brand dedicated to catering professionals for everyday menus.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/domainelanvaux-150x150.png" alt="Domaine de Lanvaux" />
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'>Domaine de Lanvaux : </span>High-quality poultry that is guaranteed of French origin: cuts of duck, foie gras, raw dishes and poultry confit.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/lgl-pro-150x150.png" alt="Le Gaulois Professionnel" />
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'>Le Gaulois Professionnel : </span>100% French poultry, a sign of quality and innovation.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/domainelanvaux-150x150.png" alt="Domaine de Lanvaux" />
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'>Domaine de Lanvaux : </span>High-quality poultry that is guaranteed of French origin: cuts of duck, foie gras, raw dishes and poultry confit.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/lgl-pro-150x150.png" alt="Le Gaulois Professionnel" />
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'>Le Gaulois Professionnel : </span>100% French poultry, a sign of quality and innovation.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/cocotte-150x150.png" alt="Domaine de Lanvaux" />
|
||||
<div class="brandText">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/cocotte-150x150.png" alt="Domaine de Lanvaux" />
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'>Cocotte de Bretagne : </span>A brand of farm poultry “Label Rouge” from a traditional breeding mode providing organoleptic guarantees, animal welfare and product quality.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/farmor-150x150.png" alt="Farmor" />
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'>Farmor : </span>Competitive prepared products.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/id_halal-150x150.png" alt="ID Halal" />
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'>ID Halal : </span>For halal butcher shops and establishments, strict and guaranteed traceability.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/farmor-150x150.png" alt="Farmor" />
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'>Farmor : </span>Competitive prepared products.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/id_halal-150x150.png" alt="ID Halal" />
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'>ID Halal : </span>For halal butcher shops and establishments, strict and guaranteed traceability.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
@ -98,17 +99,17 @@ get_header(); ?>
|
|||
<p>
|
||||
<span class='bold'>Brittany: </span>Kerchant, Volailles des Légendes, Fermiers d’Argoat and Fermier de Bretagne Label Rouge.</br> <a data-fancybox href="https://player.vimeo.com/video/240523221">Discover a Label Rouge poultry breeding</a>
|
||||
</p>
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/kerchant-150x150.png" alt="Ker Chant" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/kerchant-150x150.png" alt="Ker Chant" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/argoat-150x150.png" alt="Fermiers d'Argoat" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/fermiersBretagne-150x150.png" alt="Fermiers de Bretagne" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/volaillesLegendes-150x150.png" alt="Volailles des Légendes" />
|
||||
</div>
|
||||
</div>
|
||||
<p style="margin-bottom:0;">
|
||||
<span class='bold'>France : </span>
|
||||
</p>
|
||||
<p style="margin-bottom:0;">
|
||||
<span class='bold'>France : </span>
|
||||
</p>
|
||||
<div class="brand">
|
||||
<a href="http://www.reghalal.com/" target="_blank"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/reghalal-150x150.png" alt="Reghalal" class="specImg" /></a>
|
||||
<a href="http://www.reghalal.com/" target="_blank"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/reghalal-150x150.png" alt="Reghalal" class="specImg" /></a>
|
||||
<div class=" fixMargin">
|
||||
<p>
|
||||
Réghalal, a major player on the halal market, with guaranteed strict traceability that is controlled by the Evry Courcouronnes mosque and a unique, complete range of made-in-France products. <a href="http://www.reghalal.com/" target="_blank">More informations on Réghalal.</a>
|
||||
|
|
@ -117,7 +118,7 @@ get_header(); ?>
|
|||
</div>
|
||||
</div>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/canardpassion-150x150.png" alt="Canard Passion" class="specImg" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/canardpassion-150x150.png" alt="Canard Passion" class="specImg" />
|
||||
<div class=" fixMargin">
|
||||
<p>
|
||||
Canard Passion, the brand specialising in duck products, offers a variety of recipes and cuts to make cooking with duck meat more accessible.
|
||||
|
|
@ -125,9 +126,9 @@ get_header(); ?>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<p class="international" style="margin-bottom:0;"><span class='bold'>International : </span></p>
|
||||
<p class="international" style="margin-bottom:0;"><span class='bold'>International : </span></p>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/prims-150x150.png" alt="Prim's" class="specImg" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/prims-150x150.png" alt="Prim's" class="specImg" />
|
||||
<div class=" fixMargin">
|
||||
<p>
|
||||
Prim’S, the expert in frozen poultry products and an ambassador or French expertise in Europe with raw and cooked products.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Nos Marques Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -8,7 +9,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner', 405) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Accueil</a></li>
|
||||
<li>Nos marques</li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
|
|
@ -30,12 +31,13 @@ get_header(); ?>
|
|||
<div class="text-wrapper brand-wrapper">
|
||||
<p class="bold headBrand">Nos marques et nos solutions pour la restauration commerciale et collective :</p>
|
||||
<?php
|
||||
$pstary = get_posts( array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
'relation' => 'OR',
|
||||
array(
|
||||
'taxonomy' => 'post_tag',
|
||||
|
|
@ -49,34 +51,35 @@ get_header(); ?>
|
|||
'terms' => array( 'restauration-commerciale', 'france' ),
|
||||
'operator' => 'AND',
|
||||
),
|
||||
),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
);
|
||||
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$title = $result->post_title;
|
||||
$content = $result->post_content;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
if($result->post_name != "biozh"){
|
||||
?>
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$title = $result->post_title;
|
||||
$content = $result->post_content;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
if($result->post_name != "biozh") {
|
||||
?>
|
||||
<div class="brand">
|
||||
<img src="<?=$url_img_array['sizes']['thumbnail'] ?>" alt="<?= $title ?>" />
|
||||
<img src="<?php echo $url_img_array['sizes']['thumbnail'] ?>" alt="<?php echo $title ?>" />
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'><?= $title?> : </span><?= $content?>
|
||||
<span class='bold'><?php echo $title?> : </span><?php echo $content?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php }} ?>
|
||||
<?php }
|
||||
} ?>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
@ -98,17 +101,17 @@ get_header(); ?>
|
|||
<p>
|
||||
<span class='bold'>Bretagne : </span>Kerchant, Volailles des Légendes ainsi que Fermiers d’Argoat et Fermier de Bretagne Label Rouge.</br> <a data-fancybox href="https://player.vimeo.com/video/240523221">Découvrez un élevage de poulets Label Rouge</a>
|
||||
</p>
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/kerchant-150x150.png" alt="Ker Chant" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/kerchant-150x150.png" alt="Ker Chant" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/argoat-150x150.png" alt="Fermiers d'Argoat" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/fermiersBretagne-150x150.png" alt="Fermiers de Bretagne" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/volaillesLegendes-150x150.png" alt="Volailles des Légendes" />
|
||||
</div>
|
||||
</div>
|
||||
<p style="margin-bottom:0;">
|
||||
<span class='bold'>France : </span>
|
||||
</p>
|
||||
<p style="margin-bottom:0;">
|
||||
<span class='bold'>France : </span>
|
||||
</p>
|
||||
<div class="brand">
|
||||
<a href="http://www.reghalal.com/" target="_blank"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/reghalal-150x150.png" alt="Reghalal" class="specImg" /></a>
|
||||
<a href="http://www.reghalal.com/" target="_blank"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/reghalal-150x150.png" alt="Reghalal" class="specImg" /></a>
|
||||
<div class=" fixMargin">
|
||||
<p>
|
||||
Réghalal, acteur majeur sur le marché Halal garantissant une traçabilité stricte contrôlée par la Mosquée d’Evry Courcouronnes avec une gamme transversale unique et 100% Origine France. <a href="http://www.reghalal.com/" target="_blank">En savoir plus sur Réghalal.</a>
|
||||
|
|
@ -117,7 +120,7 @@ get_header(); ?>
|
|||
</div>
|
||||
</div>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/canardpassion-150x150.png" alt="Canard Passion" class="specImg" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/canardpassion-150x150.png" alt="Canard Passion" class="specImg" />
|
||||
<div class=" fixMargin">
|
||||
<p>
|
||||
Canard Passion, la marque spécialiste du canard, propose des recettes variées et des découpes plus pratiques pour rendre le canard plus accessible.
|
||||
|
|
@ -125,18 +128,18 @@ get_header(); ?>
|
|||
|
||||
</div>
|
||||
</div>
|
||||
<p class="international" style="margin-bottom:0;"><span class='bold'>International : </span></p>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/doux.png" alt="Doux" class="specImg" />
|
||||
<div class=" fixMargin">
|
||||
<p>
|
||||
Doux, expert des produits de volaille pour le grand export.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<p class="international" style="margin-bottom:0;"><span class='bold'>International : </span></p>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/prims-150x150.png" alt="Prim's" class="specImg" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/doux.png" alt="Doux" class="specImg" />
|
||||
<div class=" fixMargin">
|
||||
<p>
|
||||
Doux, expert des produits de volaille pour le grand export.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="brand">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/prims-150x150.png" alt="Prim's" class="specImg" />
|
||||
<div class=" fixMargin">
|
||||
<p>
|
||||
Prim’S, l’expert de la volaille surgelée et l’ambassadeur du savoir-faire français en Europe avec ses produits crus et cuits.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Histoire d'hommes EN Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -8,7 +9,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner', 372) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Home</a></li>
|
||||
<li>Prioritising people</li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Histoire d'hommes Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -8,7 +9,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner', 372) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Accueil</a></li>
|
||||
<li>Une histoire d'Hommes</li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
|
|
@ -76,8 +77,8 @@ get_header(); ?>
|
|||
</h3>
|
||||
<div>
|
||||
<p>Nous accompagnons chaque acteur à tous les niveaux dans ses missions et ses responsabilités. <br/>Nous formons nos salariés et développons leurs compétences.</p>
|
||||
<p>Nous encourageons nos collaborateurs dans leurs perspectives de carrière en privilégiant l’évolution interne. Découvrez tous <a href="<?=custom_get_page_link(772);?>">nos métiers</a> et <a target="_blank" href="https://recrutement.ldc.fr/fr/annonces?localisation=28751">offres d’emploi</a> sur l’espace nous rejoindre.</p>
|
||||
</div>
|
||||
<p>Nous encourageons nos collaborateurs dans leurs perspectives de carrière en privilégiant l’évolution interne. Découvrez tous <a href="<?php echo custom_get_page_link(772);?>">nos métiers</a> et <a target="_blank" href="https://recrutement.ldc.fr/fr/annonces?localisation=28751">offres d’emploi</a> sur l’espace nous rejoindre.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="text-content">
|
||||
|
|
|
|||
|
|
@ -1,73 +1,73 @@
|
|||
|
||||
<section class="text-content">
|
||||
<div class="container">
|
||||
<div class="listPost">
|
||||
<?php
|
||||
$nbPost = $query->post_count;
|
||||
while ($query->have_posts()) : $query->the_post(); ?>
|
||||
<a href="#" class="changePost btn-beige" attr-id="<?php echo get_the_ID(); ?>"><?php echo get_the_title(); ?></a>
|
||||
<?php endwhile; ?>
|
||||
<div class="selectwrapper"><select class="selectChangePost" >
|
||||
<?php rewind_posts();
|
||||
while ($query->have_posts()) : $query->the_post(); ?>
|
||||
<option value="<?php echo get_the_ID(); ?>" ><?php echo get_the_title(); ?></option>
|
||||
<?php endwhile; ?>
|
||||
</select></div>
|
||||
</div>
|
||||
<div class="contentPost">
|
||||
<?php rewind_posts();
|
||||
while ($query->have_posts()) : $query->the_post(); ?>
|
||||
<div class="onePost" attr-id="<?php echo get_the_ID(); ?>" style="display:none;">
|
||||
<header>
|
||||
<?php if( get_field('metier_type_presentation') ): ?>
|
||||
<?php if( get_field('metier_video_link') != ""): ?>
|
||||
<iframe src="<?php the_field("metier_video_link"); ?>" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php if( get_field('metier_visuel') != ""): ?>
|
||||
<img src="<?php the_field("metier_visuel"); ?>" alt="" />
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<div class="container">
|
||||
<div class="listPost">
|
||||
<?php
|
||||
$nbPost = $query->post_count;
|
||||
while ($query->have_posts()) : $query->the_post(); ?>
|
||||
<a href="#" class="changePost btn-beige" attr-id="<?php echo get_the_ID(); ?>"><?php echo get_the_title(); ?></a>
|
||||
<?php endwhile; ?>
|
||||
<div class="selectwrapper"><select class="selectChangePost" >
|
||||
<?php rewind_posts();
|
||||
while ($query->have_posts()) : $query->the_post(); ?>
|
||||
<option value="<?php echo get_the_ID(); ?>" ><?php echo get_the_title(); ?></option>
|
||||
<?php endwhile; ?>
|
||||
</select></div>
|
||||
</div>
|
||||
<div class="contentPost">
|
||||
<?php rewind_posts();
|
||||
while ($query->have_posts()) : $query->the_post(); ?>
|
||||
<div class="onePost" attr-id="<?php echo get_the_ID(); ?>" style="display:none;">
|
||||
<header>
|
||||
<?php if(get_field('metier_type_presentation') ) : ?>
|
||||
<?php if(get_field('metier_video_link') != "") : ?>
|
||||
<iframe src="<?php the_field("metier_video_link"); ?>" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php if(get_field('metier_visuel') != "") : ?>
|
||||
<img src="<?php the_field("metier_visuel"); ?>" alt="" />
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if( (get_field('metier_video_link') != "" || get_field('metier_visuel') != "") && $nbPost > 1): ?>
|
||||
<div class="owl-prev">Précédent</div>
|
||||
<div class="owl-next">Suivant</div>
|
||||
<?php endif; ?>
|
||||
<?php if((get_field('metier_video_link') != "" || get_field('metier_visuel') != "") && $nbPost > 1) : ?>
|
||||
<div class="owl-prev">Précédent</div>
|
||||
<div class="owl-next">Suivant</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="social_share">
|
||||
<p>PARTAGEZ CE JOB :</p>
|
||||
<ul>
|
||||
<li class="social-share linkedin"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/linkedin.jpg" alt="LinkedIn" /></li>
|
||||
<li class="social-share viadeo"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/viadeo.jpg" alt="Viadeo" /></li>
|
||||
<li class="social-share facebook"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/fb.jpg" alt="Facebook" /></li>
|
||||
<li class="social-share twitter"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/twitter.jpg" alt="Twitter" /></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
<div class="social_share">
|
||||
<p>PARTAGEZ CE JOB :</p>
|
||||
<ul>
|
||||
<li class="social-share linkedin"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/linkedin.jpg" alt="LinkedIn" /></li>
|
||||
<li class="social-share viadeo"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/viadeo.jpg" alt="Viadeo" /></li>
|
||||
<li class="social-share facebook"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/fb.jpg" alt="Facebook" /></li>
|
||||
<li class="social-share twitter"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/twitter.jpg" alt="Twitter" /></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="descPost">
|
||||
<h3 class="heading-decoration">
|
||||
<span class="text">Missions principales</span>
|
||||
</h3>
|
||||
<?php the_field("metier_mission"); ?>
|
||||
<div class="row">
|
||||
<div>
|
||||
<h3 class="heading-decoration">
|
||||
<span class="text">Connaissances</span>
|
||||
</h3>
|
||||
<?php the_field("metier_connaissances"); ?>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="heading-decoration">
|
||||
<span class="text">Compétences</span>
|
||||
</h3>
|
||||
<?php the_field("metier_competences"); ?>
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn-beige" target="_blank" href="https://recrutement.ldc.fr/fr/annonces?localisation=28751">Rejoignez-nous</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="descPost">
|
||||
<h3 class="heading-decoration">
|
||||
<span class="text">Missions principales</span>
|
||||
</h3>
|
||||
<?php the_field("metier_mission"); ?>
|
||||
<div class="row">
|
||||
<div>
|
||||
<h3 class="heading-decoration">
|
||||
<span class="text">Connaissances</span>
|
||||
</h3>
|
||||
<?php the_field("metier_connaissances"); ?>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="heading-decoration">
|
||||
<span class="text">Compétences</span>
|
||||
</h3>
|
||||
<?php the_field("metier_competences"); ?>
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn-beige" target="_blank" href="https://recrutement.ldc.fr/fr/annonces?localisation=28751">Rejoignez-nous</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Nos Métiers Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -8,7 +9,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner') ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Accueil</a></li>
|
||||
<li><?php the_title(); ?></li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
|
|
@ -22,15 +23,15 @@ get_header(); ?>
|
|||
<div id="content">
|
||||
<section class="text-content">
|
||||
<div class="container ourjobs-header">
|
||||
<?php
|
||||
while ( have_posts() ) : the_post();
|
||||
the_content();
|
||||
endwhile;
|
||||
?>
|
||||
<a class="btn-beige" target="_blank" href="https://recrutement.ldc.fr/fr/annonces?localisation=28751">Rejoignez-nous</a>
|
||||
<?php
|
||||
while ( have_posts() ) : the_post();
|
||||
the_content();
|
||||
endwhile;
|
||||
?>
|
||||
<a class="btn-beige" target="_blank" href="https://recrutement.ldc.fr/fr/annonces?localisation=28751">Rejoignez-nous</a>
|
||||
</div>
|
||||
</section>
|
||||
<section class="text-content accelerators-block">
|
||||
<section class="text-content accelerators-block">
|
||||
<div class="container ourjobs-type">
|
||||
<h3 class="heading-decoration">
|
||||
<span class="text">
|
||||
|
|
@ -38,30 +39,32 @@ get_header(); ?>
|
|||
</span>
|
||||
</h3>
|
||||
<div class="accelerators-holder">
|
||||
<?php
|
||||
$termList = get_terms( array(
|
||||
'taxonomy' => 'familles_metiers',
|
||||
'hide_empty' => false,
|
||||
'orderby' => 'id',
|
||||
'order' => 'DESC',
|
||||
'parent' => 0
|
||||
) );
|
||||
if(!empty($termList)):
|
||||
foreach ($termList as $term):
|
||||
?>
|
||||
<a href="<?php echo get_term_link($term->term_id); ?>" class="accelerator" >
|
||||
<img src="<?php the_field('fammet_vignette', "familles_metiers_".$term->term_id) ?>" class="grayscale grayscale-fade" alt="">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span><?php echo $term->name; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<?php
|
||||
endforeach;
|
||||
endif;
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
$termList = get_terms(
|
||||
array(
|
||||
'taxonomy' => 'familles_metiers',
|
||||
'hide_empty' => false,
|
||||
'orderby' => 'id',
|
||||
'order' => 'DESC',
|
||||
'parent' => 0
|
||||
)
|
||||
);
|
||||
if(!empty($termList)) :
|
||||
foreach ($termList as $term):
|
||||
?>
|
||||
<a href="<?php echo get_term_link($term->term_id); ?>" class="accelerator" >
|
||||
<img src="<?php the_field('fammet_vignette', "familles_metiers_".$term->term_id) ?>" class="grayscale grayscale-fade" alt="">
|
||||
<div class="acc-title-holder">
|
||||
<div class="acc-title">
|
||||
<span><?php echo $term->name; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<?php
|
||||
endforeach;
|
||||
endif;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container index-men-women">
|
||||
<h3 class="heading-decoration">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Savoir-faire EN Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -8,7 +9,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner', 338) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Home</a></li>
|
||||
<li>Prioritising expertise</li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
|
|
@ -41,7 +42,7 @@ get_header(); ?>
|
|||
</div>
|
||||
<div class="mobile-text">
|
||||
<ul>
|
||||
<li>- Well-raised and well-fed animals.</li>
|
||||
<li>- Well-raised and well-fed animals.</li>
|
||||
<li>- Strict health and hygiene rules that stand out internationally</li>
|
||||
<li>- Cutting-edge technical and veterinary support</li>
|
||||
<li>- Respect for animal welfare throughout the subsidiary (hatching, rearing, handling, transport, slaughter)</li>
|
||||
|
|
@ -56,11 +57,11 @@ get_header(); ?>
|
|||
<div class="illstr"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icon-1080-en.png" alt="icon-1080"></div>
|
||||
<div class="illstr"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo_volaille-francaise.png" alt="icon-volaille-francaise"></div>
|
||||
</div>
|
||||
<p>
|
||||
<p>
|
||||
<strong class="marked-gold">
|
||||
We guarantee the origin of poultry born, raised, slaughtered and processed in France by going over and beyond compliance with French standards.
|
||||
</strong>
|
||||
</p>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
@ -118,7 +119,7 @@ get_header(); ?>
|
|||
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo_ecoantibio.png" alt="eco-antibio-1017">
|
||||
<p>Antibiotics are only used as a last resort (curative) and only to treat animals following a comprehensive veterinary check-up within a regulated framework.
|
||||
Each treatment is justified, recorded and tracked in a register shared with the veterinarians.</p>
|
||||
Each treatment is justified, recorded and tracked in a register shared with the veterinarians.</p>
|
||||
<p>We are a signatory of the French ministerial <span class="bold">ECOANTIBIO 2 2017-2021</span> plan</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -147,7 +148,7 @@ get_header(); ?>
|
|||
</div>
|
||||
<div class="mobile-text customList">
|
||||
<ul>
|
||||
<li>- HACCP approach</li>
|
||||
<li>- HACCP approach</li>
|
||||
<li>- Detection of foreign bodies</li>
|
||||
<li>- Allergens</li>
|
||||
</ul>
|
||||
|
|
@ -164,7 +165,7 @@ get_header(); ?>
|
|||
</div>
|
||||
<div class="mobile-text customList">
|
||||
<ul>
|
||||
<li>- Secure raw materials supply</li>
|
||||
<li>- Secure raw materials supply</li>
|
||||
<li>- HACCP approach - Detection of foreign bodies - Allergen management</li>
|
||||
<li>- Hygiene control</li>
|
||||
<li>- Constant product quality</li>
|
||||
|
|
@ -183,33 +184,33 @@ get_header(); ?>
|
|||
<div class="pictures-holder">
|
||||
<?php
|
||||
$count=1;
|
||||
$pstary = get_posts( array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'certification'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
if( count($pstary) > 0 )
|
||||
{
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$img_array = get_field("image_picto",$result->ID);
|
||||
$url = $img_array['sizes']['thumbnail'];
|
||||
?>
|
||||
<div class="picture-holder picture-<?=$count?>"><img src="<?php echo $url; ?>" alt="<?=$result->post_title?>"></div>
|
||||
<?php
|
||||
$count++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
if(count($pstary) > 0 ) {
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$img_array = get_field("image_picto", $result->ID);
|
||||
$url = $img_array['sizes']['thumbnail'];
|
||||
?>
|
||||
<div class="picture-holder picture-<?php echo $count?>"><img src="<?php echo $url; ?>" alt="<?php echo $result->post_title?>"></div>
|
||||
<?php
|
||||
$count++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Savoir-faire Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -8,7 +9,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner', 338) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Accueil</a></li>
|
||||
<li>Une histoire de savoir-faire</li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
|
|
@ -56,13 +57,13 @@ get_header(); ?>
|
|||
<div class="illstr"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icon-1080.png" alt="icon-1080"></div>
|
||||
<div class="illstr"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo_volaille-francaise.png" alt="icon-volaille-francaise"></div>
|
||||
</div>
|
||||
<p>
|
||||
<p>
|
||||
<strong class="marked-gold">
|
||||
Nous nous engageons sur l'origine des volailles nées,
|
||||
élevées, abattues et transformées en France en respectant les
|
||||
normes françaises, et bien plus encore.
|
||||
</strong>
|
||||
</p>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
@ -184,33 +185,33 @@ get_header(); ?>
|
|||
<div class="pictures-holder">
|
||||
<?php
|
||||
$count=1;
|
||||
$pstary = get_posts( array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'certification'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
if( count($pstary) > 0 )
|
||||
{
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$img_array = get_field("image_picto",$result->ID);
|
||||
$url = $img_array['sizes']['thumbnail'];
|
||||
?>
|
||||
<div class="picture-holder picture-<?=$count?>"><img src="<?php echo $url; ?>" alt="<?=$result->post_title?>"></div>
|
||||
<?php
|
||||
$count++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
if(count($pstary) > 0 ) {
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$img_array = get_field("image_picto", $result->ID);
|
||||
$url = $img_array['sizes']['thumbnail'];
|
||||
?>
|
||||
<div class="picture-holder picture-<?php echo $count?>"><img src="<?php echo $url; ?>" alt="<?php echo $result->post_title?>"></div>
|
||||
<?php
|
||||
$count++;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,57 +2,57 @@
|
|||
/**
|
||||
* The template for displaying all single posts and attachments
|
||||
*
|
||||
* @package WordPress
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<main id="main">
|
||||
<div class="container">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php pll_e('Accueil :'); ?></a></li>
|
||||
<li><a href="<?=get_permalink(328);?>"><?php pll_e('Nos actualités'); ?></a></li>
|
||||
<li><?php the_title(); ?></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>"><?php pll_e('Accueil :'); ?></a></li>
|
||||
<li><a href="<?php echo get_permalink(328);?>"><?php pll_e('Nos actualités'); ?></a></li>
|
||||
<li><?php the_title(); ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="content">
|
||||
<section class="text-content actualite-main">
|
||||
<div class="container">
|
||||
<h3 class="heading-decoration">
|
||||
<span class="text">
|
||||
<?php pll_e('Nos Actualités'); ?>
|
||||
</span>
|
||||
</h3>
|
||||
<div class="content-wrapper">
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<div class="ornament-bg">
|
||||
<div class="img-text-holder actu-item">
|
||||
<div class="img-side">
|
||||
<?php
|
||||
if (get_field('code_dintegration_video') != '') {
|
||||
the_field('code_dintegration_video');
|
||||
} else {
|
||||
the_post_thumbnail('medium-large');
|
||||
}
|
||||
<div id="content">
|
||||
<section class="text-content actualite-main">
|
||||
<div class="container">
|
||||
<h3 class="heading-decoration">
|
||||
<span class="text">
|
||||
<?php pll_e('Nos Actualités'); ?>
|
||||
</span>
|
||||
</h3>
|
||||
<div class="content-wrapper">
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<div class="ornament-bg">
|
||||
<div class="img-text-holder actu-item">
|
||||
<div class="img-side">
|
||||
<?php
|
||||
if (get_field('code_dintegration_video') != '') {
|
||||
the_field('code_dintegration_video');
|
||||
} else {
|
||||
the_post_thumbnail('medium-large');
|
||||
}
|
||||
|
||||
?>
|
||||
</div>
|
||||
<div class="text-side">
|
||||
<h6><?php the_title(); ?></h6>
|
||||
<span class="marked-red"><?php pll_e('Publiée le'); ?><time datetime="2015-06-05"><?php echo get_the_date(); ?></time></span>
|
||||
<div class="divider"></div>
|
||||
<p><?php the_content(); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
</div>
|
||||
?>
|
||||
</div>
|
||||
<div class="text-side">
|
||||
<h6><?php the_title(); ?></h6>
|
||||
<span class="marked-red"><?php pll_e('Publiée le'); ?><time datetime="2015-06-05"><?php echo get_the_date(); ?></time></span>
|
||||
<div class="divider"></div>
|
||||
<p><?php the_content(); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Nos solutions EN Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -8,7 +9,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner', 407) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Home</a></li>
|
||||
<li>Customer-focused solutions</li>
|
||||
</ul>
|
||||
<div class="caption-title specTitle">
|
||||
|
|
@ -221,74 +222,76 @@ get_header(); ?>
|
|||
<h5 class="h5">In France</h5>
|
||||
<div class="logos-holder">
|
||||
<?php
|
||||
$pstary = get_posts( array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
array(
|
||||
'taxonomy' => 'post_tag',
|
||||
'field' => 'slug',
|
||||
'terms' => array( 'restauration-collective', 'france' ),
|
||||
'operator' => 'AND',
|
||||
),
|
||||
),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
?>
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
?>
|
||||
<img src="<?php echo $url_img_array['sizes']['thumbnail']; ?>" alt="">
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="logo-group">
|
||||
<h5 class="h5">Internationaly</h5>
|
||||
<div class="logos-holder">
|
||||
<?php
|
||||
$pstary = get_posts( array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
array(
|
||||
'taxonomy' => 'post_tag',
|
||||
'field' => 'slug',
|
||||
'terms' => array( 'restauration-collective', 'international' ),
|
||||
'operator' => 'AND',
|
||||
),
|
||||
),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
?>
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
?>
|
||||
<img src="<?php echo $url_img_array['sizes']['thumbnail']; ?>" alt="">
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -317,14 +320,14 @@ get_header(); ?>
|
|||
|
||||
<h5 class="h5">In France</h5>
|
||||
<div class="logos-holder">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/canardpassion-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/canardpassion-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/reghalal-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/pigeons-150x150.png" alt="" />
|
||||
</div>
|
||||
<div class="logos-holder">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/kerchant-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/argoat-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/fermiersBretagne-150x150.png" alt="" />
|
||||
<div class="logos-holder">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/kerchant-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/argoat-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/fermiersBretagne-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/volaillesLegendes-150x150.png" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Nos solutions Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -8,7 +9,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner', 407) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Accueil</a></li>
|
||||
<li>Nos solutions au service de nos clients</li>
|
||||
</ul>
|
||||
<div class="caption-title specTitle">
|
||||
|
|
@ -223,37 +224,38 @@ get_header(); ?>
|
|||
<h5 class="h5">En France</h5>
|
||||
<div class="logos-holder">
|
||||
<?php
|
||||
$pstary = get_posts( array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
array(
|
||||
'taxonomy' => 'post_tag',
|
||||
'field' => 'slug',
|
||||
'terms' => array( 'restauration-collective', 'france' ),
|
||||
'operator' => 'AND',
|
||||
),
|
||||
),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
?>
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
?>
|
||||
<img src="<?php echo $url_img_array['sizes']['thumbnail']; ?>" alt="">
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -261,37 +263,38 @@ get_header(); ?>
|
|||
<h5 class="h5">À l’international</h5>
|
||||
<div class="logos-holder">
|
||||
<?php
|
||||
$pstary = get_posts( array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
array(
|
||||
'taxonomy' => 'post_tag',
|
||||
'field' => 'slug',
|
||||
'terms' => array( 'restauration-collective', 'international' ),
|
||||
'operator' => 'AND',
|
||||
),
|
||||
),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
?>
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
$id = $result->ID;
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
?>
|
||||
<img src="<?php echo $url_img_array['sizes']['thumbnail']; ?>" alt="">
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -320,15 +323,15 @@ get_header(); ?>
|
|||
|
||||
<h5 class="h5">En France</h5>
|
||||
<div class="logos-holder">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/canardpassion-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/canardpassion-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/reghalal-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/pigeons-150x150.png" alt="" />
|
||||
|
||||
</div>
|
||||
<div class="logos-holder">
|
||||
<div class="logos-holder">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/kerchant-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/argoat-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/fermiersBretagne-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/argoat-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/fermiersBretagne-150x150.png" alt="" />
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/volaillesLegendes-150x150.png" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -4,15 +4,15 @@
|
|||
*/
|
||||
get_header();
|
||||
|
||||
$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
|
||||
$term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy'));
|
||||
|
||||
?>
|
||||
|
||||
<div class="banner banner-decor" style="background-image:url(<?php the_field('fammet_banniere', "familles_metiers_".$term->term_id) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a></li>
|
||||
<li><a href="<?php echo custom_get_page_link(772); ?>">Nos métiers</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Accueil</a></li>
|
||||
<li><a href="<?php echo custom_get_page_link(772); ?>">Nos métiers</a></li>
|
||||
<li><?php echo $term->name; ?></li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
|
|
@ -26,65 +26,65 @@ $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy'
|
|||
<div id="content" class="jobpage">
|
||||
<section class="text-content">
|
||||
<div class="container">
|
||||
<?php echo term_description(); ?>
|
||||
<?php echo term_description(); ?>
|
||||
</div>
|
||||
</section>
|
||||
<?php
|
||||
$children = get_term_children($term->term_id, get_query_var('taxonomy')); // get children
|
||||
if(sizeof($children)==0){
|
||||
// ---- query
|
||||
$args = array(
|
||||
'post_type' => 'cpt_metiers',
|
||||
'posts_per_page' => -1,
|
||||
'post_status' => 'publish',
|
||||
'tax_query' => array(
|
||||
'relation' => 'AND',
|
||||
array(
|
||||
'taxonomy' => 'familles_metiers',
|
||||
'field' => 'term_id',
|
||||
'terms' => array( $term->term_id),
|
||||
),
|
||||
),
|
||||
);
|
||||
$query = new WP_Query( $args );
|
||||
if ($query->have_posts()) :
|
||||
include(locate_template('metier_part.php'));
|
||||
?>
|
||||
<?php endif;
|
||||
<?php
|
||||
$children = get_term_children($term->term_id, get_query_var('taxonomy')); // get children
|
||||
if(sizeof($children)==0) {
|
||||
// ---- query
|
||||
$args = array(
|
||||
'post_type' => 'cpt_metiers',
|
||||
'posts_per_page' => -1,
|
||||
'post_status' => 'publish',
|
||||
'tax_query' => array(
|
||||
'relation' => 'AND',
|
||||
array(
|
||||
'taxonomy' => 'familles_metiers',
|
||||
'field' => 'term_id',
|
||||
'terms' => array( $term->term_id),
|
||||
),
|
||||
),
|
||||
);
|
||||
$query = new WP_Query($args);
|
||||
if ($query->have_posts()) :
|
||||
include locate_template('metier_part.php');
|
||||
?>
|
||||
<?php endif;
|
||||
|
||||
}else{
|
||||
foreach ($children as $child) {
|
||||
$childTerm = get_term_by( 'id', $child, 'familles_metiers' );
|
||||
?>
|
||||
<section class="text-content">
|
||||
<div class="container">
|
||||
<h4 class="heading-decoration2"><?php echo $childTerm->name ?></h4>
|
||||
<?php echo term_description($childTerm->term_id); ?>
|
||||
</div>
|
||||
</section>
|
||||
<?php
|
||||
// ---- query
|
||||
$args = array(
|
||||
'post_type' => 'cpt_metiers',
|
||||
'posts_per_page' => -1,
|
||||
'post_status' => 'publish',
|
||||
'tax_query' => array(
|
||||
'relation' => 'AND',
|
||||
array(
|
||||
'taxonomy' => 'familles_metiers',
|
||||
'field' => 'term_id',
|
||||
'terms' => array( $childTerm->term_id),
|
||||
),
|
||||
),
|
||||
);
|
||||
$query = new WP_Query( $args );
|
||||
if ($query->have_posts()) :
|
||||
include(locate_template('metier_part.php'));
|
||||
endif;
|
||||
wp_reset_query();
|
||||
}
|
||||
}
|
||||
?>
|
||||
}else{
|
||||
foreach ($children as $child) {
|
||||
$childTerm = get_term_by('id', $child, 'familles_metiers');
|
||||
?>
|
||||
<section class="text-content">
|
||||
<div class="container">
|
||||
<h4 class="heading-decoration2"><?php echo $childTerm->name ?></h4>
|
||||
<?php echo term_description($childTerm->term_id); ?>
|
||||
</div>
|
||||
</section>
|
||||
<?php
|
||||
// ---- query
|
||||
$args = array(
|
||||
'post_type' => 'cpt_metiers',
|
||||
'posts_per_page' => -1,
|
||||
'post_status' => 'publish',
|
||||
'tax_query' => array(
|
||||
'relation' => 'AND',
|
||||
array(
|
||||
'taxonomy' => 'familles_metiers',
|
||||
'field' => 'term_id',
|
||||
'terms' => array( $childTerm->term_id),
|
||||
),
|
||||
),
|
||||
);
|
||||
$query = new WP_Query($args);
|
||||
if ($query->have_posts()) :
|
||||
include locate_template('metier_part.php');
|
||||
endif;
|
||||
wp_reset_query();
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
|
@ -92,90 +92,90 @@ $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy'
|
|||
<?php get_footer(); ?>
|
||||
<script type="text/javascript">
|
||||
|
||||
function socialWindow(url) {
|
||||
var left = (screen.width - 570) / 2;
|
||||
var top = (screen.height - 570) / 2;
|
||||
var params = "menubar=no,toolbar=no,status=no,width=570,height=570,top=" + top + ",left=" + left;
|
||||
window.open(url,"NewWindow",params);
|
||||
}
|
||||
function socialWindow(url) {
|
||||
var left = (screen.width - 570) / 2;
|
||||
var top = (screen.height - 570) / 2;
|
||||
var params = "menubar=no,toolbar=no,status=no,width=570,height=570,top=" + top + ",left=" + left;
|
||||
window.open(url,"NewWindow",params);
|
||||
}
|
||||
|
||||
function setShareLinks() {
|
||||
var pageUrl = encodeURIComponent(document.URL);
|
||||
var tweet = encodeURIComponent($("meta[property='og:description']").attr("content"));
|
||||
function setShareLinks() {
|
||||
var pageUrl = encodeURIComponent(document.URL);
|
||||
var tweet = encodeURIComponent($("meta[property='og:description']").attr("content"));
|
||||
|
||||
$(".social-share.facebook").on("click", function() {
|
||||
url = "https://www.facebook.com/sharer.php?u=" + pageUrl;
|
||||
socialWindow(url);
|
||||
});
|
||||
$(".social-share.facebook").on("click", function() {
|
||||
url = "https://www.facebook.com/sharer.php?u=" + pageUrl;
|
||||
socialWindow(url);
|
||||
});
|
||||
|
||||
$(".social-share.twitter").on("click", function() {
|
||||
url = "https://twitter.com/intent/tweet?url=" + pageUrl + "&text=" + tweet;
|
||||
socialWindow(url);
|
||||
});
|
||||
$(".social-share.twitter").on("click", function() {
|
||||
url = "https://twitter.com/intent/tweet?url=" + pageUrl + "&text=" + tweet;
|
||||
socialWindow(url);
|
||||
});
|
||||
|
||||
$(".social-share.linkedin").on("click", function() {
|
||||
url = "https://www.linkedin.com/shareArticle?mini=true&url=" + pageUrl;
|
||||
socialWindow(url);
|
||||
})
|
||||
$(".social-share.linkedin").on("click", function() {
|
||||
url = "https://www.linkedin.com/shareArticle?mini=true&url=" + pageUrl;
|
||||
socialWindow(url);
|
||||
})
|
||||
|
||||
$(".social-share.viadeo").on("click", function() {
|
||||
url = "https://www.viadeo.com/fr/widgets/share/preview?url=" + pageUrl;
|
||||
socialWindow(url);
|
||||
})
|
||||
}
|
||||
$(".social-share.viadeo").on("click", function() {
|
||||
url = "https://www.viadeo.com/fr/widgets/share/preview?url=" + pageUrl;
|
||||
socialWindow(url);
|
||||
})
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.ourjobs').addClass('current-menu-item');
|
||||
$(document).ready(function() {
|
||||
$('.ourjobs').addClass('current-menu-item');
|
||||
|
||||
var curVideoId = 0;
|
||||
var curVideoId = 0;
|
||||
|
||||
$(".changePost").on('click', function(event) {
|
||||
event.preventDefault();
|
||||
$(".changePost").on('click', function(event) {
|
||||
event.preventDefault();
|
||||
|
||||
var $iframe = $(".onePost[attr-id='"+curVideoId+"']").find("iframe");
|
||||
var vidsrc = $iframe.attr('src');
|
||||
$iframe.attr('src','');
|
||||
$iframe.attr('src', vidsrc);
|
||||
var $iframe = $(".onePost[attr-id='"+curVideoId+"']").find("iframe");
|
||||
var vidsrc = $iframe.attr('src');
|
||||
$iframe.attr('src','');
|
||||
$iframe.attr('src', vidsrc);
|
||||
|
||||
var IdPost = $(this).attr("attr-id");
|
||||
$(".onePost[attr-id='"+IdPost+"']").parent().find('.onePost').hide();
|
||||
$(".onePost[attr-id='"+IdPost+"']").parent().find('.onePost').css('opacity', 0);
|
||||
$(".onePost[attr-id='"+IdPost+"']").show().animate({ opacity: 1 });
|
||||
$(this).parent().find('.changePost').removeClass('selected');
|
||||
$(this).addClass('selected');
|
||||
$(this).parent().find(".selectChangePost").val(IdPost);
|
||||
curVideoId = IdPost;
|
||||
});
|
||||
var IdPost = $(this).attr("attr-id");
|
||||
$(".onePost[attr-id='"+IdPost+"']").parent().find('.onePost').hide();
|
||||
$(".onePost[attr-id='"+IdPost+"']").parent().find('.onePost').css('opacity', 0);
|
||||
$(".onePost[attr-id='"+IdPost+"']").show().animate({ opacity: 1 });
|
||||
$(this).parent().find('.changePost').removeClass('selected');
|
||||
$(this).addClass('selected');
|
||||
$(this).parent().find(".selectChangePost").val(IdPost);
|
||||
curVideoId = IdPost;
|
||||
});
|
||||
|
||||
$(".selectChangePost").on('change', function(event) {
|
||||
$(".selectChangePost").on('change', function(event) {
|
||||
|
||||
var $iframe = $(".onePost[attr-id='"+curVideoId+"']").find("iframe");
|
||||
var vidsrc = $iframe.attr('src');
|
||||
$iframe.attr('src','');
|
||||
$iframe.attr('src', vidsrc);
|
||||
var $iframe = $(".onePost[attr-id='"+curVideoId+"']").find("iframe");
|
||||
var vidsrc = $iframe.attr('src');
|
||||
$iframe.attr('src','');
|
||||
$iframe.attr('src', vidsrc);
|
||||
|
||||
var IdPost = $(this).val();
|
||||
$(".onePost[attr-id='"+IdPost+"']").parent().find('.onePost').hide();
|
||||
$(".onePost[attr-id='"+IdPost+"']").parent().find('.onePost').css('opacity', 0);
|
||||
$(".onePost[attr-id='"+IdPost+"']").show().animate({ opacity: 1 });
|
||||
$(this).parent().parent().find('.changePost').removeClass('selected');
|
||||
$(".changePost[attr-id='"+IdPost+"']").addClass('selected');
|
||||
curVideoId = IdPost;
|
||||
});
|
||||
var IdPost = $(this).val();
|
||||
$(".onePost[attr-id='"+IdPost+"']").parent().find('.onePost').hide();
|
||||
$(".onePost[attr-id='"+IdPost+"']").parent().find('.onePost').css('opacity', 0);
|
||||
$(".onePost[attr-id='"+IdPost+"']").show().animate({ opacity: 1 });
|
||||
$(this).parent().parent().find('.changePost').removeClass('selected');
|
||||
$(".changePost[attr-id='"+IdPost+"']").addClass('selected');
|
||||
curVideoId = IdPost;
|
||||
});
|
||||
|
||||
$(".owl-next").on('click', function(event) {
|
||||
var selectedLink = $(this).closest(".container").find(".selected");
|
||||
selectedLink.next().trigger("click");
|
||||
});
|
||||
$(".owl-prev").on('click', function(event) {
|
||||
var selectedLink = $(this).closest(".container").find(".selected");
|
||||
selectedLink.prev().trigger("click");
|
||||
});
|
||||
$(".owl-next").on('click', function(event) {
|
||||
var selectedLink = $(this).closest(".container").find(".selected");
|
||||
selectedLink.next().trigger("click");
|
||||
});
|
||||
$(".owl-prev").on('click', function(event) {
|
||||
var selectedLink = $(this).closest(".container").find(".selected");
|
||||
selectedLink.prev().trigger("click");
|
||||
});
|
||||
|
||||
if($(".listPost").length == 1){
|
||||
$(this).find(".changePost:first").trigger("click");
|
||||
}
|
||||
setShareLinks();
|
||||
if($(".listPost").length == 1){
|
||||
$(this).find(".changePost:first").trigger("click");
|
||||
}
|
||||
setShareLinks();
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Qui Sommes nous EN Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -8,7 +9,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner', 366) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Home</a></li>
|
||||
<li>About Us</li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
|
|
@ -32,7 +33,7 @@ get_header(); ?>
|
|||
<div class="">
|
||||
<p>Created in 2015 by the fusion of 6 sites of LDC and the acquisition of 5 other sites all based in Brittany, Société Bretonne de Volaille (SBV) has a major shareholder being LDC. </p>
|
||||
<p>The LDC group, leader of french poultry in France, realised a turnover of 4,1 billion Euros and employs more then 22 000 people. </p>
|
||||
<p><A HREF="http://www.ldc.fr">More information on www.ldc.fr</A> </p>
|
||||
<p><A HREF="http://www.ldc.fr">More information on www.ldc.fr</A> </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Qui Sommes nous Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
|
@ -8,7 +9,7 @@ get_header(); ?>
|
|||
<div class="banner banner-decor" style="background-image:url(<?php the_field('page_banner', 366) ?>)">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Accueil</a></li>
|
||||
<li>Qui sommes-nous ?</li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
|
|
@ -32,7 +33,7 @@ get_header(); ?>
|
|||
<div class="">
|
||||
<p>Créée en 2015, par la fusion des 6 sites bretons LDC et de l’acquisition de 5 autres sites sur le territoire, la Société Bretonne de Volaille appartient en majorité au groupe LDC.</p>
|
||||
<p>Le groupe LDC, leader français de la volaille, réalise un CA de 4,1 milliard d'euros et emploie plus de 22 000 collaborateurs.</p>
|
||||
<p><A HREF="http://www.ldc.fr">Plus d’informations sur LDC.fr</A> </p>
|
||||
<p><A HREF="http://www.ldc.fr">Plus d’informations sur LDC.fr</A> </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue