2010-07-20, 06:22:16
Maybe just the pre-menuitems hook is needed for this -- instead of echoing the additional "<li>..." code, it could be appended to the $menu variable (to the beginning or end of the string, depending on where you want it to be displayed).
Another idea... What about using a filter, instead of hooks?
Line 362 of theme_functions.php could then be changed to:
Another idea... What about using a filter, instead of hooks?
Line 362 of theme_functions.php could then be changed to:
Code:
echo exec_filter('menuitems',$menu);