Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Child navigation and fancy urls
#2
GS goes about subpages in a specific fasion. You can have pages nested multiple levels deep, but the URLs generated in menus will never show more than two sublevels. Even then if you go ahead and completely omit everything from the domain to the last slash, the page will still load : )

That's because GS takes the last part (after the slash) of the URL as a page ID. However if you want to have "politically correct" URLs, then do this:
  1. install the I18N plugin.
  2. Change the %parent% to %parents% in your permalink structure.
  3. At the very least replace the get_navigation() function in your theme file with i18n's counterpart get_i18n_navigation() function.
There, multiple levels deep URLs. Tho manually you can still omit all the sublevels up to the last one : )
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



Users browsing this thread: 2 Guest(s)