Compare commits

..

No commits in common. "314654ecf965ba23c282f0f4c41ec69600b9f973" and "a767530658702a8fcd58f6bfef44e576598bc8ed" have entirely different histories.

2 changed files with 2 additions and 1 deletions

View File

@ -82,6 +82,7 @@ $cover_image = get_field('artisan_cover', $postID);
<?php endif; ?>
<?php $clean_website = str_replace(array('http://', 'https://'), '', $website); ?>
<?php if ($website && !empty($clean_website)): ?>
<a class="card-artisans__website" href="<?php echo $website ?>" target="_blank"><?php echo $clean_website ?></a>
<?php endif; ?>
<a href=" <?php echo $artisans_clean_url ?>" class="cta cta--read-more cta--with-arrow-button ">

View File

@ -62,7 +62,7 @@ $cover_image = get_field('artisan_cover', $postID);
<?php $clean_website = str_replace(array('http://', 'https://'), '', $website); ?>
<?php if ($website && !empty($clean_website)): ?>
<?php $clean_website = str_replace(array('http://', 'https://'), '', $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 ?>"><?php echo $clean_website ?></a>
<?php endif; ?>
<?php if ($vatNumber): ?>
<p class="card-artisans__vat-number"><?php echo __("N° d'entreprise", "metiers-patrimoine-theme") . " : " . $vatNumber ?></p>