' . esc_html( get_the_title() ) . '
'; // Date echo ''; // Catégories $cats_list = get_the_category_list( ', ' ); if ( $cats_list ) { echo 'Catégories : ' . wp_kses_post( $cats_list ) . '
'; } // Sources (taxonomie personnalisée) $sources = get_the_terms( $post_id, 'sources' ); if ( $sources && ! is_wp_error( $sources ) ) { $sources_names = wp_list_pluck( $sources, 'name' ); echo 'Sources : ' . esc_html( implode( ', ', $sources_names ) ) . '
'; } // Étiquettes $tags_list = get_the_tag_list( '', ', ' ); if ( $tags_list ) { echo ''; } // 🔹 EXTRAI T echo '';
echo wp_kses_post( wp_trim_words( get_the_excerpt(), 55, '...' ) );
echo '
';
// 🔹 Bouton "Lire l'article complet"
echo ''; echo 'Lire l’article complet'; echo '
'; echo '