Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels