| Server IP : 145.239.37.162 / Your IP : 216.73.216.205 Web Server : Apache System : Linux webm003.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaa ( 38250) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaa/www/wp-content/themes/verseau/ |
Upload File : |
<?php /* template name: Actualités */ ?>
<?php get_header();
$title_page = get_the_title();
global $post;
$post_slug = $post->post_name;?>
<div id="content_aeb">
<div id="actu_aeb">
<div class="container">
<div class="row">
<div class="subTitle">
<h1><?php the_title();?></h1>
</div>
</div>
</div>
<div class="container">
<div class="row">
<?php
$sticky = get_option('sticky_posts');
$args = array(
'showposts' => 15,
'ignore_sticky_posts' => 1,
'post_type' => 'post',
'orderby' => 'date',
'order' => 'DESC'
);
$recentPosts = new WP_Query($args);
while ($recentPosts->have_posts()) : $recentPosts->the_post();?>
<div class="bloc-3">
<div id="article-actu">
<div class="imgcat">
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
<?php if ( has_post_thumbnail()) { the_post_thumbnail( 'thumbnail-blog' ); } ?></a>
<div class="categorie-accueil"><?php foreach((get_the_category()) as $category) { echo '<a href="' . get_category_link( $category->cat_ID ) . '">' . $category->cat_name . '</a> '; }?></div>
</div>
<div class="blog-tite">
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
<h3><?php the_title(); ?></h3>
</a>
<p class="date-accueil">publié le <?php the_time('j F Y'); ?></p>
</div>
</a>
</div>
</div>
<?php endwhile; ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>