wp_nav_menu returns menu list in ascending order. How can I arrange the menu same as dashboard menu

enter image description here
 <?php
              wp_nav_menu(array(
                  'theme_location' => 'primary',
                  'container' => 'ul',
                  'menu_class'=> 'top-menu'
                  /* 'walker' => new Walker_nav_Primary() */
                  )
              );                  
          ?>

This is a simple wp_nav_menu

You can see ascending order from above example

I have done this in WP.

wp_nav_menu gives me ascending order menu. How can I arrange as dashboard?

Please help.

Read more here:: wp_nav_menu returns menu list in ascending order. How can I arrange the menu same as dashboard menu

Leave a Reply

Your email address will not be published. Required fields are marked *