Fix url CTA in erfgoed
This commit is contained in:
parent
486ec12968
commit
def83bb0ef
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user