Title: menu_order for posts issue
Last modified: January 11, 2022

---

# menu_order for posts issue

 *  [untiy16](https://wordpress.org/support/users/untiy16/)
 * (@untiy16)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/menu_order-for-posts-issue/)
 * Hi. I think menu_order for post is not working correctly. I guess the problem
   comes from the fact that when you save the order, you are using the array keys
   as menu_order values. This causes the first child pages in the list to have menu_order
   equal to 0, etc. Please see screenshots.
 * wp admin page [https://prnt.sc/26ckp2d](https://prnt.sc/26ckp2d)
    database [https://prnt.sc/26ckpca](https://prnt.sc/26ckpca)
 * I guess the problem is here: wp-content/plugins/wp-nested-pages/app/Entities/
   Post/PostUpdateRepository.php
    [https://prnt.sc/26ckq1l](https://prnt.sc/26ckq1l)`

The topic ‘menu_order for posts issue’ is closed to new replies.

 * ![](https://ps.w.org/wp-nested-pages/assets/icon-128x128.png?rev=1690043)
 * [Nested Pages](https://wordpress.org/plugins/wp-nested-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-nested-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-nested-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-nested-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-nested-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-nested-pages/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [untiy16](https://wordpress.org/support/users/untiy16/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/menu_order-for-posts-issue/)
 * Status: not resolved