FIX passing a blank target to artisan website
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1b2c6d81ca
commit
314654ecf9
|
|
@ -62,7 +62,7 @@ $cover_image = get_field('artisan_cover', $postID);
|
||||||
<?php $clean_website = str_replace(array('http://', 'https://'), '', $website); ?>
|
<?php $clean_website = str_replace(array('http://', 'https://'), '', $website); ?>
|
||||||
<?php if ($website && !empty($clean_website)): ?>
|
<?php if ($website && !empty($clean_website)): ?>
|
||||||
<?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 ?>" target="_blank"><?php echo $clean_website ?></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ($vatNumber): ?>
|
<?php if ($vatNumber): ?>
|
||||||
<p class="card-artisans__vat-number"><?php echo __("N° d'entreprise", "metiers-patrimoine-theme") . " : " . $vatNumber ?></p>
|
<p class="card-artisans__vat-number"><?php echo __("N° d'entreprise", "metiers-patrimoine-theme") . " : " . $vatNumber ?></p>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user