FIX Fixing page icon not showing in nl
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
641ac8e1ad
commit
8edf2395b7
|
|
@ -23,7 +23,10 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
|||
$searchPageId = 43;
|
||||
$searchPageTitle = get_the_title($searchPageId);
|
||||
$searchPageUrl = get_post_permalink($searchPageId);
|
||||
$currentLang = apply_filters('wpml_current_language', null);
|
||||
do_action('wpml_switch_language', 'fr');
|
||||
$pageIcon = get_field('page_icon', $searchPageId) ?? null;
|
||||
do_action('wpml_switch_language', $currentLang);
|
||||
?>
|
||||
<ol>
|
||||
<li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user