Title: Bug on re-ordering page that causes only one post to show
Last modified: August 30, 2016

---

# Bug on re-ordering page that causes only one post to show

 *  [Clifton Griffin](https://wordpress.org/support/users/clifgriffin/)
 * (@clifgriffin)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/bug-on-admin-page/)
 * For some reason, one of our post types would only show one post on the ordering
   page.
 * I found that changing the args array on line 204 in include/cpto-class.php to
   this fixed it:
 *     ```
       $args = array(
                                       'sort_column'       =>  'menu_order',
                                       'post_type'         =>  $post_type,
                                       'posts_per_page'    => -1,
                                       'post_status'       =>  'any',
                                       'orderby'            => 'menu_order',
                                       'order'             => 'ASC',
                           );
       ```
   
 * The orderby array was breaking it. Might be a bug in WordPress, but didn’t have
   time to track it all the way down.
 * [https://wordpress.org/plugins/post-types-order/](https://wordpress.org/plugins/post-types-order/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [nsp-code](https://wordpress.org/support/users/nsp-code/)
 * (@nsp-code)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/bug-on-admin-page/#post-6241210)
 * Possible you use an older WordPress version? I believe this was introduced in
   4.0
 *  Thread Starter [Clifton Griffin](https://wordpress.org/support/users/clifgriffin/)
 * (@clifgriffin)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/bug-on-admin-page/#post-6241321)
 * We’re on 4.2.2.
 *  Plugin Author [nsp-code](https://wordpress.org/support/users/nsp-code/)
 * (@nsp-code)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/bug-on-admin-page/#post-6241333)
 * The should be another code which produce this issue, can you try to de-activate
   other plugins?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Bug on re-ordering page that causes only one post to show’ is closed 
to new replies.

 * ![](https://ps.w.org/post-types-order/assets/icon-128x128.png?rev=1226428)
 * [Post Types Order](https://wordpress.org/plugins/post-types-order/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-types-order/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-types-order/)
 * [Active Topics](https://wordpress.org/support/plugin/post-types-order/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-types-order/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-types-order/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [nsp-code](https://wordpress.org/support/users/nsp-code/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/bug-on-admin-page/#post-6241333)
 * Status: not resolved