Title: nerdfactor's Replies | WordPress.org

---

# nerdfactor

  [  ](https://wordpress.org/support/users/nerdfactor/)

 *   [Profile](https://wordpress.org/support/users/nerdfactor/)
 *   [Topics Started](https://wordpress.org/support/users/nerdfactor/topics/)
 *   [Replies Created](https://wordpress.org/support/users/nerdfactor/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/nerdfactor/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/nerdfactor/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/nerdfactor/engagements/)
 *   [Favorites](https://wordpress.org/support/users/nerdfactor/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp_nav_menu: List only 2nd level (separate submenu)?](https://wordpress.org/support/topic/wp_nav_menu-list-only-2nd-level-separate-submenu/)
 *  [nerdfactor](https://wordpress.org/support/users/nerdfactor/)
 * (@nerdfactor)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/wp_nav_menu-list-only-2nd-level-separate-submenu/#post-1547707)
 * i just sort of fixed @elBranfords problem inside the walker. don’t know how “
   nice” this fix is, but it works for now with my site. the fix is inside the start_el
   function, so there is no change in anything else.
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * it checks if the current item has the same id as the parent item and than skips
   it. i set the parent id to 0 (no parent id), so it only works with two level 
   navigations. maybe someone finds a way to find the proper parent id (i didn’t
   really look for one). then it would work for navigations with more then two levels.

Viewing 1 replies (of 1 total)