diff --git a/template-components/post-conseils/find-artisan.php b/template-components/post-conseils/find-artisan.php index 4db6066..5dfe739 100644 --- a/template-components/post-conseils/find-artisan.php +++ b/template-components/post-conseils/find-artisan.php @@ -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/' : ''; ?>