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

Question
 <?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

enter image description here

You can see ascending order from above example

I have done this in WP.

enter image description here

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

Please help.

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/wp_nav_menu-returns-menu-list-in-ascending-order-how-can-i-arrange-the-menu-same-as-dashboard-menu/">

wp_nav_menu returns menu list in ascending order. How can I arrange the menu same as dashboard menu</a>
0
, , user147874 1 week 0 Answers 13 views 0

Leave an answer