Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get_navigation - Sub pages, active state.
#2
gotlisch Wrote:Anyhow, that a side I did come across one little problem in regards to using the "current" tag for menu items when using the get_navigation tag. My site is predominantly a "one level site" but I do have one section of the site that has pages beneath it. Those sub pages are not suppose to appear in the navigation but I still want the "parent page" to remain the "current" page in terms of what's being highlighted. Any ideas how this can be achieved??

You can use the I18N plugin, as you can see here (the breadcrumbs show the page hierarchie, but the page itself is not in the menu - it works the same for a simple one-level menu bar).

Just replace get_navigation with get_i18n_navigation, more information can be found here.

P.S.: nice site.

P.P.S.: wow, my 400th post, I'm a Guru now!
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
get_navigation - Sub pages, active state. - by mvlcek - 2011-06-03, 04:20:53



Users browsing this thread: 1 Guest(s)