FIX Fixing icons not showing in homepage
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
f4289faa13
commit
e623673590
|
|
@ -2,9 +2,15 @@
|
|||
// $dates_seminaire = get_field('dates_seminaire_datas');
|
||||
|
||||
$searchPageId = 43;
|
||||
$searchPageIdFr = apply_filters('wpml_object_id', $searchPageId, 'page', TRUE, 'fr');
|
||||
$searchPageTitle = get_the_title($searchPageId);
|
||||
$searchPageUrl = get_post_permalink($searchPageId);
|
||||
$searchPageIcon = get_field('page_icon', $searchPageId) ?? null;
|
||||
$current_lang = apply_filters('wpml_current_language', null);
|
||||
|
||||
apply_filters('wpml_switch_language', 'fr');
|
||||
$searchPageIcon = get_field('page_icon', $searchPageIdFr) ?? null;
|
||||
apply_filters('wpml_switch_language', $current_lang);
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user