From ca6b73d615bb64b0fd47dc18aa2ec096d38f5793 Mon Sep 17 00:00:00 2001 From: Nonimart Date: Tue, 21 Oct 2025 15:10:16 +0200 Subject: [PATCH] FIX Alt feature --- template-parts/revues/revue-recommandation-card.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/template-parts/revues/revue-recommandation-card.php b/template-parts/revues/revue-recommandation-card.php index 703862a..621e2aa 100644 --- a/template-parts/revues/revue-recommandation-card.php +++ b/template-parts/revues/revue-recommandation-card.php @@ -2,8 +2,7 @@ $title = $args['title']; $ID = $args['ID']; $thumbnail = get_the_post_thumbnail($ID, 'full'); - - +$alt = get_post_meta($ID, 'alt_text', true); ?> @@ -19,7 +18,6 @@ $thumbnail = get_the_post_thumbnail($ID, 'full'); -
<?php echo $alt; ?>