| Server IP : 91.134.83.25 / Your IP : 216.73.216.137 Web Server : Apache System : Linux plesk.serveurapc.fr 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64 User : marrasse ( 10057) PHP Version : 8.2.32 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/as-cp.fr/wpascp/wp-content/themes/agencepointcom/ |
Upload File : |
<?php
get_header();
echo do_shortcode('[rev_slider alias="slider-1"][/rev_slider]');
?>
<div class = "section-home-1">
<?php if(have_rows('section_group_1')): ?>
<?php while(have_rows('section_group_1')): the_row(); ?>
<?php
$bg = get_sub_field('background_section1') ? get_sub_field('background_section1') : get_stylesheet_directory_uri().'/img/section-1-default.jpg';
?>
<div class = "inner-section-1" style = 'background-image: url("<?php echo $bg; ?>")'>
<div class = "section-1-left">
<div class="content-text content-text-section-1">
<?php the_sub_field('texte') ?>
</div>
</div>
<div class="section-1-right">
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div>
<div class = "section-home-2">
<?php if(have_rows('section_group_2')): ?>
<div class = 'head-home-section-2 head-section'>
<?php while(have_rows('section_group_2')): the_row(); ?>
<?php if(get_sub_field('titre')): ?>
<h2 class = 'title-section'>
<?php the_sub_field('titre'); ?>
</h2>
<?php endif; ?>
<?php if(get_sub_field('sous_titre')): ?>
<h3 class = 'subtitle-section'>
<?php the_sub_field('sous_titre') ?>
</h3>
<?php endif; ?>
<?php endwhile; ?>
</div>
<?php endif;?>
<?php
$query = new WP_Query( array(
'posts_per_page' => 4,
));
?>
<?php if($query->have_posts()): ?>
<div class = 'content-archive-posts'>
<?php while ($query->have_posts()): $query->the_post() ?>
<?php get_template_part('template-parts/content', 'archive'); ?>
<?php endwhile; ?>
</div>
<?php endif;?>
<div class="size-site">
<a class = "button-home-actus custom-button" href = "<?php echo get_post_type_archive_link('post') ?>">Voir toutes les actualités</a>
</div>
</div>
<div class="conteneur_carousel">
<span class="separateur-texte gauche"></span><h4>Ils nous font confiance</h4><span class="separateur-texte droite"></span>
<?php
echo do_shortcode('[logo-carousel id=partenaires]');
?>
</div>
<?php
get_footer();