FEATURE Update support button link to use dynamic page ID for improved flexibility

This commit is contained in:
Antoine M 2026-04-08 15:38:13 +02:00
parent b9faf3ba7a
commit 5351753763

View File

@ -44,7 +44,11 @@
<img src="<?php echo get_template_directory_uri(); ?>/resources/img/icons/carhop-rechercher.svg" alt="">
Rechercher
</button>
<a class="support-button" href="<?php echo home_url(); ?>/infolettre">
<?php
$soutenir_page_id = 1963
?>
<a class="support-button" href="<?php echo get_the_permalink($soutenir_page_id); ?>">
<img src="<?php echo get_template_directory_uri(); ?>/resources/img/icons/carhop-soutenir.svg" alt="">
Soutenir
</a>