FEATURE Removing back to the results
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nonimart 2025-09-01 14:26:27 +02:00
parent e33ada707f
commit 6fe1f0ff14
2 changed files with 3 additions and 4 deletions

View File

@ -61,7 +61,6 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
)); ));
?> ?>
<a class="back-to-search" href="<?php echo $searchPageUrl ?>"><?php echo __("Retourner aux résultats de recherche", "metiers-patrimoine-theme") ?></a>
<div class="artisan_wrapper"> <div class="artisan_wrapper">
<aside class="artisan_info"> <aside class="artisan_info">

View File

@ -37,7 +37,7 @@ $cover_image = get_field('artisan_cover', $postID);
<article class="card-artisans"> <article class="card-artisans">
<a href="<?php echo $artisans_clean_url ?>" class="card-artisans__cover-container"> <a href="<?php echo $artisans_clean_url ?>" class="card-artisans__cover-container" target="_blank">
<?php if ($cover_image): ?> <?php if ($cover_image): ?>
<img src="<?php echo $cover_image['url'] ?>" alt="<?php echo $post_title ?>" class="card-artisans__cover-image"> <img src="<?php echo $cover_image['url'] ?>" alt="<?php echo $post_title ?>" class="card-artisans__cover-image">
<?php else: ?> <?php else: ?>
@ -46,7 +46,7 @@ $cover_image = get_field('artisan_cover', $postID);
</a> </a>
<div class="card-artisans__inner"> <div class="card-artisans__inner">
<a href="<?php echo $artisans_clean_url ?>" class="card-artisans__title-container"> <a href="<?php echo $artisans_clean_url ?>" class="card-artisans__title-container" target="_blank">
<h2 class="card-artisans__title"><?php echo $post_title ?></h2> <h2 class="card-artisans__title"><?php echo $post_title ?></h2>
</a> </a>
<?php if ($company_members): ?> <?php if ($company_members): ?>
@ -84,7 +84,7 @@ $cover_image = get_field('artisan_cover', $postID);
<?php if ($website && !empty($clean_website)): ?> <?php if ($website && !empty($clean_website)): ?>
<a class="card-artisans__website" href="<?php echo $website ?>" target="_blank"><?php echo $clean_website ?></a> <a class="card-artisans__website" href="<?php echo $website ?>" target="_blank"><?php echo $clean_website ?></a>
<?php endif; ?> <?php endif; ?>
<a href=" <?php echo $artisans_clean_url ?>" class="cta cta--read-more cta--with-arrow-button "> <a href=" <?php echo $artisans_clean_url ?>" class="cta cta--read-more cta--with-arrow-button" target="_blank">
<span><?php echo __("En savoir plus", 'metiers-patrimoine-theme') ?></span> <span><?php echo __("En savoir plus", 'metiers-patrimoine-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=''>