Timeline for How show sub menu only using wp_nav_menu()
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 13, 2018 at 20:00 | history | tweeted | twitter.com/StackWordPress/status/1006989739017285636 | ||
Feb 24, 2015 at 5:11 | answer | added | Junaid Bhura | timeline score: 2 | |
Nov 12, 2014 at 17:46 | comment | added | gdaniel | I have been using the solution to this question -> wordpress.stackexchange.com/questions/2802/… It adds a filter to wp_nav_menu that let's you pass a 'submenu' parameter. | |
May 14, 2013 at 1:25 | answer | added | Matt Keys | timeline score: 3 | |
Jun 19, 2012 at 11:09 | comment | added | Nolan | I only want the children´s root parent. | |
Jun 19, 2012 at 11:08 | comment | added | Nolan | I gave the wp_list_pages a shot, but it wasn´t showing me the sub pages, only if subpages were under the actually Pages menu. In my custom menu I have custom post types as sub pages for drop downs and those weren´t showing, this was the only code I found to work so far... | |
Jun 19, 2012 at 9:22 | comment | added | Stephen Harris | Also - what if you're on a child page? Do you display their children only (if they have any)? Or the children of the 'root' parent? | |
Jun 19, 2012 at 9:21 | comment | added | Stephen Harris |
Does it need to be a Nav Menu Walker class? Or would it suffice to use wp_list_pages
|
|
Jun 19, 2012 at 8:45 | history | edited | kaiser | CC BY-SA 3.0 |
added 331 characters in body
|
Jun 19, 2012 at 8:07 | history | asked | Nolan | CC BY-SA 3.0 |