ldc-groupe/content/themes/ldc/page-contacts-2.php
2020-12-14 10:14:37 +01:00

64 lines
5.8 KiB
PHP

<?php
/*
Template Name: Page Contacts v.2
*/
?>
<?php
global $tp;
global $post;
get_header();
?>
<div class="page-contacts fw page_nohero">
<?php get_template_part('partials/breadcrumbs'); ?>
<h1 class="page-contacts__title title"><span class="title-text"><?php _e('Contact us', 'LDC Custom string'); ?></span></h1>
<?php if ($post->ID === 1925) : ?>
<div class="contact-index">
<a class="textblock__info-btn btn" href="<?= get_permalink(6246) ?>" title="Nous rejoindre en tant que collaborateur"><?php _e('Join us as an employee', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(6249) ?>" title="Nous rejoindre en tant qu'éleveur"><?php _e('Join us as a farmer', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(6670) ?>" title="L'export"><?php _e('Export', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(6672) ?>" title="Une demande en tant que client / détaillant / distributeur"><?php _e('A request as a customer / retailer / distributor', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(6674) ?>" title="La finance"><?php _e('Finance', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(6676) ?>" title="Nos engagements"><?php _e('Our commitments', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(6681) ?>" title="Une information produit"><?php _e('Product information', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(6678) ?>" title="Une autre information générale"><?php _e('Other general information', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(14) ?>#page-press-form" title="Une demande presse"><?php _e('A press request', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
</div>
<?php endif ?>
<?php if ($post->ID === 2671) : ?>
<div class="contact-index">
<a class="textblock__info-btn btn" href="<?= get_permalink(8625) ?>" title="Nous rejoindre en tant que collaborateur"><?php _e('Join us as an employee', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(8596) ?>" title="Nous rejoindre en tant qu'éleveur"><?php _e('Join us as a farmer', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(8571) ?>" title="L'export"><?php _e('Export', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(8640) ?>" title="Une demande en tant que client / détaillant / distributeur"><?php _e('A request as a customer / retailer / distributor', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(8586) ?>" title="La finance"><?php _e('Finance', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(8592) ?>" title="Nos engagements"><?php _e('Our commitments', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(8647) ?>" title="Une information produit"><?php _e('Product information', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(8634) ?>" title="Une autre information générale"><?php _e('Other general information', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
<a class="textblock__info-btn btn" href="<?= get_permalink(2684) ?>#page-press-form" title="Une demande presse"><?php _e('A press request', 'LDC Custom string'); ?><i class="btn__icon btn__icon_arrow-right"></i></a>
</div>
<?php endif ?>
<!-- Nous rejoindre en tant que collaborateur -->
<?php if ($post->ID === 6246 || $post->ID === 8625) : require_once('contacts/6246_collaborateurs.php'); endif ?>
<!-- Nous rejoindre en tant qu'éleveur -->
<?php if ($post->ID === 6249 || $post->ID === 8596) : require_once('contacts/6249_eleveurs.php'); endif ?>
<!-- L'export -->
<?php if ($post->ID === 6670 || $post->ID === 8571) : require_once('contacts/6670_export.php'); endif ?>
<!-- Une demande en tant que client / détaillant / distributeur -->
<?php if ($post->ID === 6672 || $post->ID === 8640) : require_once('contacts/6672_demande.php'); endif ?>
<!-- La finance -->
<?php if ($post->ID === 6674 || $post->ID === 8586) : require_once('contacts/6674_finance.php'); endif ?>
<!-- Nos engagements -->
<?php if ($post->ID === 6676 || $post->ID === 8592) : require_once('contacts/6676_engagements.php'); endif ?>
<!-- Une autre information générale -->
<?php if ($post->ID === 6678 || $post->ID === 8634) : require_once('contacts/6678_information_generale.php'); endif ?>
<!-- Une information produit -->
<?php if ($post->ID === 6681 || $post->ID === 8647) : require_once('contacts/6681_information_produit.php'); endif ?>
</div>
<?php get_footer(); ?>