Title: wp_nav_menu
Last modified: August 20, 2016

---

# wp_nav_menu

 *  Resolved [Herr Ahman](https://wordpress.org/support/users/herr-ahman/)
 * (@herr-ahman)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/wp_nav_menu-4/)
 * Hi there, please help me before I loose my mind.
 * I want to separate the UL’s in the response from wp_nav_menu(). But I can’t for
   my life figure out how. Like this:
 *     ```
       echo #1:
       <ul>
             <li class='active'>Top Menu Item 1</li>
             <li>Top Menu Item 2</li>
             etc
       </ul>
   
       echo #2:
       <ul> // Submenu of Top Menu Item 1
             <li class='active'>Sub Menu Item 1</li>
             <li>Sub Menu Item 2</li>
             etc
       </ul>
       ```
   

Viewing 1 replies (of 1 total)

 *  Thread Starter [Herr Ahman](https://wordpress.org/support/users/herr-ahman/)
 * (@herr-ahman)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/wp_nav_menu-4/#post-2546304)
 * Answer: [http://helperclass.blogspot.com/2011/11/creating-separate-sub-menu-in-wordpress.html](http://helperclass.blogspot.com/2011/11/creating-separate-sub-menu-in-wordpress.html)

Viewing 1 replies (of 1 total)

The topic ‘wp_nav_menu’ is closed to new replies.

## Tags

 * [menu](https://wordpress.org/support/topic-tag/menu/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Herr Ahman](https://wordpress.org/support/users/herr-ahman/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/wp_nav_menu-4/#post-2546304)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
