diff --git a/includes/utilities.php b/includes/utilities.php index 8d830a7..b6ba67a 100644 --- a/includes/utilities.php +++ b/includes/utilities.php @@ -532,8 +532,9 @@ function carhop_get_post_card_link_according_to_post_datas($post_id, $card_args $text = 'Voir la notice'; break; case 'fonds-archives': - $link = ''; - $target = '_self'; + $collective_access_link = get_field('collective_access_link', $post_id); + $link = $collective_access_link ?? ''; + $target = '_blank'; $text = null; $is_external = false; break;