You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
I have Polylang Pro and ACF Pro. I have two languages english and spanish, in the backend I have some text field which displays correctly for each language but in the frontend spanish texts are shown in english HP. why?
To fix the problem I did like that forcing page ID according to the language:
Hello.
I have Polylang Pro and ACF Pro. I have two languages english and spanish, in the backend I have some text field which displays correctly for each language but in the frontend spanish texts are shown in english HP. why?
To fix the problem I did like that forcing page ID according to the language:
if(get_locale()=='es_PE'){
$pageID = 6;
}else if(get_locale()=='en_US'){
$pageID = 243;
}
otherwise page ID is always 6 also for 'en_US'.
This is not an elegant way to solve but it works
Thanks
The text was updated successfully, but these errors were encountered: