[wp-hackers] Select pages's associated menu items in a specific menu

Mike Schinkel mikeschinkel at newclarity.net
Wed Jul 28 02:48:43 UTC 2010


On Jul 27, 2010, at 10:36 PM, Lox wrote:
> Yeah! Thks a lot. The fields I was missing were:

You are welcome.

> 'taxonomy'    => 'nav_menu',
> 'term'        => $term->slug
> 
> Why can't I query for the term_id directly ?

Because you can't.  :)

> It will save the "$term = get_term($menu_id, 'nav_menu')" query ....

I agree. Submit a ticket on trac.

-Mike


More information about the wp-hackers mailing list