(2016-05-07, 06:34:39)Carlos Wrote: You have to changeget_header
byget_i18n_header
in your template.
Thanks, Carlos!
I also had a statement like this:
$u = urlencode(get_page_url(true));
But that was returning a string with %parents% in it as well, not the one or two level of parents. For future reference, and for anyone else who might have the problem, I changed that line to the following, and it made the correct multi-level URL:
$u = urlencode(return_i18n_lang_url());
I was looking for a get_i18n_page_url function, and couldn't find it, but return_i18n_lang_url() does the trick.