evolutions SBV page actualité
nos marques
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Actualites EN Template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
get_header(); ?>
|
||||
|
||||
|
||||
<?php
|
||||
$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);
|
||||
?>
|
||||
<main id="main">
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Home</a></li>
|
||||
<li>Our news</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="content">
|
||||
<section class="text-content actualite-main">
|
||||
<div class="container">
|
||||
<h3 class="heading-decoration">
|
||||
<span class="text">
|
||||
Our News
|
||||
</span>
|
||||
</h3>
|
||||
<div class="content-wrapper">
|
||||
<?php while ( $loop->have_posts() ) : $loop->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">Published on <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>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
</div>
|
||||
<div class="pagination">
|
||||
<ul>
|
||||
<?php
|
||||
$big = 999999999; // need an unlikely integer
|
||||
|
||||
echo paginate_links(
|
||||
array(
|
||||
'base' => str_replace($big, '%#%', esc_url(get_pagenum_link($big))),
|
||||
'format' => '?paged=%#%',
|
||||
'current' => max(1, get_query_var('paged')),
|
||||
'total' => $loop->max_num_pages,
|
||||
'prev_next' => false,
|
||||
|
||||
)
|
||||
);
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
@ -16,7 +16,7 @@ $loop = new WP_Query($args);
|
|||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>">Accueil</a></li>
|
||||
<li>Nos actualités</li>
|
||||
<li><?php pll_e("Nos actualités");?></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ $loop = new WP_Query($args);
|
|||
<div class="container">
|
||||
<h3 class="heading-decoration">
|
||||
<span class="text">
|
||||
Nos Actualités
|
||||
<?php pll_e("Nos actualités");?>
|
||||
</span>
|
||||
</h3>
|
||||
<div class="content-wrapper">
|
||||
|
|
@ -41,10 +41,10 @@ $loop = new WP_Query($args);
|
|||
</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>
|
||||
<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_excerpt(); ?></p>
|
||||
<a href="<?php the_permalink(); ?>" class="bottom-r-link">Lire la suite > </a>
|
||||
<a href="<?php the_permalink(); ?>" class="bottom-r-link"><?php pll_e("Lire la suite");?> > </a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -21,20 +21,22 @@ h3 {
|
|||
|
||||
|
||||
.ornament-bg .img-text-holder .img-side {
|
||||
width:50%;
|
||||
/*width:50%;*/
|
||||
position:relative;
|
||||
overflow:hidden;
|
||||
align-self: center;
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
.ornament-bg .img-text-holder .img-side img {
|
||||
/*.ornament-bg .img-text-holder .img-side img {
|
||||
width:100%;
|
||||
height:auto;
|
||||
position:absolute;
|
||||
top:50%;
|
||||
transform:translateY(-50%)
|
||||
}
|
||||
}*/
|
||||
|
||||
.ornament-bg .img-text-holder .img-side iframe {
|
||||
/*.ornament-bg .img-text-holder .img-side iframe {
|
||||
display:block;
|
||||
max-width: 546px;
|
||||
height:auto;
|
||||
|
|
@ -45,7 +47,7 @@ h3 {
|
|||
position:relative;
|
||||
top:50%;
|
||||
transform:translateY(-50%)
|
||||
}
|
||||
}*/
|
||||
|
||||
.ornament-bg .img-text-holder.actu-item .img-side iframe {
|
||||
background-color: transparent;
|
||||
|
|
|
|||
4
wp-content/themes/pole-sbv/css/style.min.css
vendored
|
|
@ -664,6 +664,8 @@ h2.section-title {
|
|||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
-webkit-box-shadow: 0 0 10px #7d7c7c;
|
||||
box-shadow: 0 0 10px #7d7c7c;
|
||||
-webkit-box-pack: justify;
|
||||
|
|
@ -681,7 +683,7 @@ h2.section-title {
|
|||
padding: 35px 45px 15px 33px;
|
||||
background-color: #fff;
|
||||
position: relative;
|
||||
max-width: 620px;
|
||||
/*max-width: 620px;*/
|
||||
}
|
||||
|
||||
.ornament-bg .img-text-holder .text-side h6 {
|
||||
|
|
|
|||
|
|
@ -108,6 +108,16 @@ pll_register_string("Une histoire de savoir-faire", "Une histoire de <-> savoir
|
|||
pll_register_string("Nos certifcations", "Nos certifcations", 'Homepage');
|
||||
pll_register_string("Nos certifcations Text", "Nos certifcations Text", 'Homepage');
|
||||
|
||||
pll_register_string("Restauration commerciale et collective","Restauration commerciale et collective",'Nos Marques');
|
||||
pll_register_string("Nos_marques_et_nos_solutions","Nos marques et nos solutions pour la restauration commerciale et collective",'Nos Marques');
|
||||
pll_register_string("GMS","GMS",'Miscellaneous');
|
||||
pll_register_string("Bretagne","Bretagne",'Miscellaneous');
|
||||
pll_register_string("France","France",'Miscellaneous');
|
||||
pll_register_string("Découvrez_un_élevage","Découvrez un élevage de poulets Label Rouge",'Nos Marques');
|
||||
pll_register_string("International","International",'Miscellaneous');
|
||||
pll_register_string("Nous_produisons","Nous produisons également selon vos cahiers des charges pour vos marques distributeurs françaises et européennes en grande distribution traditionnelle, hard discount et freezer center.",'Nos Marques');
|
||||
|
||||
|
||||
pll_register_string('Une histoire de terre footer', 'Une histoire de terre', 'Footer');
|
||||
pll_register_string("Une histoire d'Hommes footer", "Une histoire d'Hommes", 'Footer');
|
||||
pll_register_string("Une histoire de savoir-faire footer", "Une histoire de savoir-faire", 'Footer');
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ get_header(); ?>
|
|||
</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>
|
||||
<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_excerpt(); ?></p>
|
||||
<a href="<?php the_permalink(); ?>" class="bottom-r-link"><?php pll_e("Lire la suite");?> > </a>
|
||||
|
|
@ -87,7 +87,7 @@ get_header(); ?>
|
|||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'date',
|
||||
'orderby' => 'menu_order',
|
||||
'order' => 'DESC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
|
|
@ -100,7 +100,7 @@ get_header(); ?>
|
|||
);
|
||||
|
||||
foreach( $pstary as $result )
|
||||
{
|
||||
{
|
||||
$id = $result->ID;
|
||||
$title = $result->post_title;
|
||||
$content = $result->post_content;
|
||||
|
|
|
|||
|
|
@ -2,19 +2,67 @@
|
|||
/**
|
||||
* Template Name: Nos Marques Template
|
||||
*
|
||||
* @package WordPress
|
||||
* @category Template
|
||||
* @package WordPress
|
||||
* @author Olivier Legat <olivier.legat@ldc.fr>
|
||||
* @license LDC
|
||||
* @link none
|
||||
*/
|
||||
get_header(); ?>
|
||||
get_header();
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
function showBrands($items)
|
||||
{
|
||||
$finalstring = "";
|
||||
foreach ($items as $result) {
|
||||
$id = $result->ID;
|
||||
$title = $result->post_title;
|
||||
$content = $result->post_content;
|
||||
$link = get_field("link_picto", $id);
|
||||
$url_img_array = get_field('image_picto', $id);
|
||||
if ($result->post_name != "biozh") {
|
||||
if ($link != "") {
|
||||
$imgtmpl = <<<IMG
|
||||
<a href="%1\$s" target="brand_tab">
|
||||
<img src="%2\$s" alt="%3\$s" />
|
||||
</a>
|
||||
IMG;
|
||||
} else {
|
||||
$imgtmpl = <<<IMG
|
||||
<img src="%2\$s" alt="%3\$s" />
|
||||
IMG;
|
||||
}
|
||||
$template = <<<TMPL
|
||||
<div class="brand">
|
||||
$imgtmpl
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'>%3\$s : </span>%4\$s
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
TMPL;
|
||||
|
||||
$template = sprintf($template, $link, $url_img_array['sizes']['thumbnail'], $title, $content);
|
||||
|
||||
$finalstring .= $template;
|
||||
}
|
||||
}
|
||||
echo $finalstring;
|
||||
}
|
||||
?>
|
||||
|
||||
<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>Nos marques</li>
|
||||
<li><a href="<?php echo esc_url(home_url('/')); ?>"><?php pll_e("Accueil");?></a></li>
|
||||
<li><?php pll_e("Nos marques");?></li>
|
||||
</ul>
|
||||
<div class="caption-title">
|
||||
<h1>
|
||||
<span class="bold">Nos marques</span>
|
||||
<span class="bold"><?php pll_e("Nos marques");?></span>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -25,17 +73,17 @@ get_header(); ?>
|
|||
<div class="container">
|
||||
<h3 class="heading-decoration">
|
||||
<span class="text">
|
||||
Restauration commerciale et collective
|
||||
<?php pll_e("Restauration commerciale et collective");?>
|
||||
</span>
|
||||
</h3>
|
||||
<div class="text-wrapper brand-wrapper">
|
||||
<p class="bold headBrand">Nos marques et nos solutions pour la restauration commerciale et collective :</p>
|
||||
<p class="bold headBrand"><?php pll_e("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',
|
||||
'orderby' => 'menu_order',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
'relation' => 'OR',
|
||||
|
|
@ -62,24 +110,9 @@ get_header(); ?>
|
|||
)
|
||||
);
|
||||
|
||||
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="<?php echo $url_img_array['sizes']['thumbnail'] ?>" alt="<?php echo $title ?>" />
|
||||
<div class="brandText">
|
||||
<p>
|
||||
<span class='bold'><?php echo $title?> : </span><?php echo $content?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
} ?>
|
||||
showBrands($pstary)
|
||||
|
||||
?>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
@ -93,62 +126,96 @@ get_header(); ?>
|
|||
</span>
|
||||
</h3>
|
||||
<div class="text-wrapper brand-wrapper">
|
||||
<p class="bold headBrand">Nous sommes présents en grande distribution au travers de nos marques en France et en Europe :</p>
|
||||
|
||||
<div class="brand">
|
||||
|
||||
<div class="">
|
||||
<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/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 class="bold headBrand"><?php pll_e("Nous sommes présents en grande distribution au travers de nos marques en France et en Europe"); ?> :</p>
|
||||
<p style="margin-bottom:0;">
|
||||
<span class='bold'>France : </span>
|
||||
<span class='bold'><?php pll_e("Bretagne"); ?> : </span><a data-fancybox href="https://player.vimeo.com/video/240523221"><?php pll_e("Découvrez un élevage de poulets Label Rouge"); ?></a>
|
||||
</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>
|
||||
<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>
|
||||
</p>
|
||||
<?php
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'menu_order',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
'relation' => 'OR',
|
||||
array(
|
||||
'taxonomy' => 'post_tag',
|
||||
'field' => 'slug',
|
||||
'terms' => array( 'GMS', 'bretagne' ),
|
||||
'operator' => 'AND',
|
||||
),
|
||||
),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="brand">
|
||||
<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.
|
||||
</p>
|
||||
showBrands($pstary) ?>
|
||||
<p style="margin-bottom:0;">
|
||||
<span class='bold'><?php pll_e("France");?> : </span>
|
||||
</p>
|
||||
<?php
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'menu_order',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
'relation' => 'OR',
|
||||
array(
|
||||
'taxonomy' => 'post_tag',
|
||||
'field' => 'slug',
|
||||
'terms' => array( 'GMS', 'france' ),
|
||||
'operator' => 'AND',
|
||||
),
|
||||
),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
showBrands($pstary) ?>
|
||||
<p class="international" style="margin-bottom:0;"><span class='bold'><?php pll_e("International"); ?> : </span></p>
|
||||
<?php
|
||||
$pstary = get_posts(
|
||||
array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => 'picto',
|
||||
'orderby' => 'menu_order',
|
||||
'order' => 'ASC',
|
||||
'tax_query' => array(
|
||||
'relation' => 'OR',
|
||||
array(
|
||||
'taxonomy' => 'post_tag',
|
||||
'field' => 'slug',
|
||||
'terms' => array('international' ),
|
||||
'operator' => 'AND',
|
||||
),
|
||||
),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => 'type_picto',
|
||||
'compare' => '==',
|
||||
'value' => 'marque'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
</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>
|
||||
<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.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
showBrands($pstary) ?>
|
||||
<p>
|
||||
Nous produisons également selon vos cahiers des charges pour vos marques distributeurs françaises et européennes en grande distribution traditionnelle, hard discount et freezer center.
|
||||
<?php pll_e("Nous produisons également selon vos cahiers des charges pour vos marques distributeurs françaises et européennes en grande distribution traditionnelle, hard discount et freezer center."); ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ get_header(); ?>
|
|||
?>
|
||||
</div>
|
||||
<div class="text-side">
|
||||
<h6><?php the_title(); ?></h6>
|
||||
<h1><?php the_title(); ?></h1>
|
||||
<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>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 124 KiB |
BIN
wp-content/uploads/2021/10/Logo-reghalal-vectorise-150x150.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
wp-content/uploads/2021/10/Logo-reghalal-vectorise-300x300.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
wp-content/uploads/2021/10/Logo-reghalal-vectorise.png
Normal file
|
After Width: | Height: | Size: 48 KiB |