[wp-hackers] wp_nav_menu too simplistic?

Otto otto at ottodestruct.com
Tue Apr 6 20:17:03 UTC 2010


On Tue, Apr 6, 2010 at 3:13 PM, John Bloch <jbloch at olympianetworks.com> wrote:
> This custom walker class will give you a filter to directly modify the
> url of individual menu items. Put this into your theme's function file
> and, when you call the menu, add "walker=Custom_Walker_Nav_Menu" to
> the function's arguments.

So what you're saying is that you can't make a plugin do it, it has to
be a theme that does it, by modifying the call to wp_nav_menu.

-Otto


More information about the wp-hackers mailing list