FIX fixing multilingual api urls
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
163eb8bb52
commit
e2f328a3ed
|
|
@ -11,8 +11,9 @@ $post_thumbnail = get_the_post_thumbnail($postID, 'full', array('class' => 'card
|
||||||
$postDefautlThumbnail = get_stylesheet_directory_uri() . '/resources/img/illustrations/Homegrade_resultats-filtres.svg';
|
$postDefautlThumbnail = get_stylesheet_directory_uri() . '/resources/img/illustrations/Homegrade_resultats-filtres.svg';
|
||||||
$post_title = $args['post_title'];
|
$post_title = $args['post_title'];
|
||||||
// $post_permalink = get_the_permalink($postID);
|
// $post_permalink = get_the_permalink($postID);
|
||||||
|
$lang_extension = $current_lang === 'nl' ? 'nl/' : '';
|
||||||
|
$artisans_clean_url = get_site_url() . '/' . $lang_extension . 'artisans/' . $post_name;
|
||||||
|
|
||||||
$artisans_clean_url = get_home_url(null, '/') . 'artisans/' . $post_name;
|
|
||||||
|
|
||||||
$company_members = get_field('company_members', $postID);
|
$company_members = get_field('company_members', $postID);
|
||||||
$currentTaxonomy = $args['current_taxonomy'];
|
$currentTaxonomy = $args['current_taxonomy'];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user