Fix url CTA in erfgoed

This commit is contained in:
Gilles Van Assche 2025-10-23 14:35:04 +02:00
parent 486ec12968
commit def83bb0ef

View File

@ -2,6 +2,9 @@
// get network site 2 home url
$networkArtisan = get_blog_details(2);
$networkArtisanHomeUrl = isset($networkArtisan->home) ? $networkArtisan->home : '';
$current_lang = apply_filters('wpml_current_language', null);
// print_r($current_lang);
$current_lang === 'nl' ? $networkArtisanHomeUrl .= '/nl/' : '';
?>
<a href="<?php echo $networkArtisanHomeUrl ?>" class="side-card">