removing cta--strech from permalinks

This commit is contained in:
Antoine M 2024-10-23 10:37:40 +02:00
parent 93a9e09633
commit b8db88994b

View File

@ -55,7 +55,7 @@ $adresse = get_field('adresse', $postID);
<?php $clean_website = str_replace(array('http://', 'https://'), '', $website); ?> <?php $clean_website = str_replace(array('http://', 'https://'), '', $website); ?>
<a class="card-artisans__website" href="<?php echo $website ?>"><?php echo $clean_website ?></a> <a class="card-artisans__website" href="<?php echo $website ?>"><?php echo $clean_website ?></a>
<?php endif; ?> <?php endif; ?>
<a href=" <?php echo get_the_permalink($postID) ?>" class="cta cta--read-more cta--with-arrow-button cta--streched "> <a href=" <?php echo get_the_permalink($postID) ?>" class="cta cta--read-more cta--with-arrow-button ">
<span><?php echo __("En savoir plus", 'metiers-du-patirmoine-theme') ?></span> <span><?php echo __("En savoir plus", 'metiers-du-patirmoine-theme') ?></span>
<span class="sr-only"> &nbsp;<?php echo $post_title ?></span> <span class="sr-only"> &nbsp;<?php echo $post_title ?></span>
<img class="cta_arrow_button" src='<?php echo get_template_directory_uri() ?>/resources/img/graphic-assets/arrow-right-circle.svg' alt=''> <img class="cta_arrow_button" src='<?php echo get_template_directory_uri() ?>/resources/img/graphic-assets/arrow-right-circle.svg' alt=''>