I have made this grid and I would like to add the date below div containing the post on the top right. The thing is that whenever I add the_date(), the template breaks. BTW not all the dates are displayed. Can anybody help ?

Thank you

<section id="grille_actus">

if ( have_posts() ) : while ( have_posts() ) : the_post();

        // Si vous avez besoin d'accéder à $post->ID par exemple
        global $post;

endwhile; endif;?>

<div class="test">
<div class="col-md-4 col-lg-4 col-sm-6 col-xs-12">
  <div class="le_post_entier">
    <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('actus'); ?></a>
    <div class="col-md-12 postbody">

          <a href="<?php the_permalink(); ?>"><?php the_title(); ?>
    <a class="cta" href="<?php the_permalink(); ?>">DÉCOUVRIR →</a>


Read more here: Grid misunderstanding


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: