Timeline for how to display a specific wordpress menu?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 1, 2019 at 14:51 | vote | accept | dzogbenyui agblevon | ||
May 1, 2019 at 14:33 | comment | added | dzogbenyui agblevon | My custom menu theme location is a hook. And I successfully come out to display menu items over there. Now I need to specify to wp_nav_menu, to display only the menu items of My Custom Header Menu. | |
May 1, 2019 at 14:01 | answer | added | anton | timeline score: 2 | |
May 1, 2019 at 14:01 | answer | added | Amine Faiz | timeline score: 1 | |
May 1, 2019 at 14:00 | comment | added | Tom J Nowell♦ |
Also, are you trying to render a specific menu theme location? You're specifying both menu and theme_location which is a paradox, "show this specific menu, no actually show the menu at this theme menu location"
|
|
May 1, 2019 at 13:58 | comment | added | Tom J Nowell♦ |
Your parameters array is a mix of standalone entries and key value pairs, are you sure 'menu', _(...), 'theme_location' => '...' is what you intended? mixing [1,2,3] and [ 'foo' => 'bar' ] style array items is not normal
|
|
May 1, 2019 at 13:55 | review | First posts | |||
May 1, 2019 at 15:00 | |||||
May 1, 2019 at 13:53 | history | asked | dzogbenyui agblevon | CC BY-SA 4.0 |