FEATURE handling potential collective access link
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
4481a69316
commit
d28911e49e
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user