Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
where is get_navigation output set?
#2
There is no real setting other than the actual code. So the only way to change this is to rewrite the get_navigation-function. (Much like I did when I was not happy with the menu myself.)

You’ll find get_navigation() in /admin/inc/theme_functions.php. More specifically it’s line 336 you’d want to change:
Code:
$menu .= '<li class="'. $classes .'" ><a href="'. find_url($page['url'],$page['parent']) . '" title="'. $page['title'] .'">'.$page['menu'].'</a></li>'."\n";
You might need to move some variables around though, as $classes contains more than just the current class.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply


Messages In This Thread
where is get_navigation output set? - by FredK - 2010-03-03, 22:03:25
where is get_navigation output set? - by Zegnåt - 2010-03-04, 00:11:46
where is get_navigation output set? - by FredK - 2010-03-04, 08:59:13



Users browsing this thread: 1 Guest(s)