FIX Alt feature

This commit is contained in:
Nonimart 2025-10-21 15:10:16 +02:00
parent 5c9476cb61
commit ca6b73d615

View File

@ -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 endif; ?>
<div class="cta cta--go cta--primary">
<img src="<?php echo get_template_directory_uri(); ?>/resources/img/carhop-fleche-full.svg" alt="<?php echo $alt; ?>">
</div>