• I’m trying to figure out how to display a menu that has been created, but without having to assign the menu to a theme location.

    From what I can tell, you have to assign a menu to a theme menu location and then wp_nav_menu calls a menu from whatever location you want.

    I don’t want to have to assign a menu to a theme location. Instead, I want to be able to create a menu and then query it within my theme… regardless of theme location.

    I’ve created a plugin for myself that uses wp_get_nav_menus to list all of the menus I’ve created… I can then assign any menu to a page/post. Now, I’m stuck trying to figure out how to retrieve that specific menu… again, not menu theme location.

    Anyone?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter dColumbus

    (@dcolumbus)

    Well, it looks like I found what I need:

    http://codex.wordpress.org/Function_Reference/wp_get_nav_menu_items

    I find it odd that wp_get_nav_menus isn’t documented in the Codex.

    Thread Starter dColumbus

    (@dcolumbus)

    Unfortunately, the WordPress forums have been one of the worst places to get help. Either no one is looking, or no one is looking to help.

    As always, my answer was kindly answered at the stackexchange. For those of you who want to know the same thing:

    http://wordpress.stackexchange.com/questions/30658/menus-but-not-by-theme-location

    Either no one is looking, or no one is looking to help.

    Or all the people who could be helping here, are hanging out on SE instead

    We are all just volunteers, just like SE. So if people prefer to volunteer their time only on SE, there is less help here.

    Thread Starter dColumbus

    (@dcolumbus)

    Or all the people who could be helping here, are hanging out on SE instead

    That might be true now, but it’s been like this for years. There are all kinds of orphaned topics within the WPF.

    We are all just volunteers, just like SE.

    Of course. But what makes SE great is that people actually answer. And what’s ironic is that you make a point of replying to the last statement… not my question. 😛

    Well yeah, I didn’t have an answer to your question. As most of us do, if I don’t have an answer, I remain silent. Otherwise the forum would be full of silly ‘I don’t know’ replies.

    I was merely trying to point out that, SE does get lots of volunteer action, I have no idea why so many people answer over there, and not here. That huge knowledge base would be great here. These forums can only be what people put into it….. it would be great to have all the questions answered here!!

    Thread Starter dColumbus

    (@dcolumbus)

    Yeah, my sentiments exactly.

    It’s a shame. I think that developers that utilize WP to the full have a bit of an elitist attitude towards their knowledge.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Menus, but not by theme location’ is closed to new replies.