Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Child navigation and fancy urls
#9
(2016-05-07, 06:34:39)Carlos Wrote: You have to change get_header by get_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.
Reply


Messages In This Thread
Child navigation and fancy urls - by webturtles - 2014-04-29, 02:07:29
RE: Child navigation and fancy urls - by Everyone - 2014-05-02, 19:59:00
RE: Child navigation and fancy urls - by Carlos - 2014-05-03, 03:47:02
RE: Child navigation and fancy urls - by Carlos - 2016-05-07, 06:34:39
RE: Child navigation and fancy urls - by jlyon1515 - 2016-07-23, 06:39:52



Users browsing this thread: 1 Guest(s)