Title: [Plugin: Simple Page Ordering] Doesn&#039;t work with WP_Query
Last modified: August 20, 2016

---

# [Plugin: Simple Page Ordering] Doesn't work with WP_Query

 *  Resolved [Redeye Adaya](https://wordpress.org/support/users/adredz/)
 * (@adredz)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-simple-page-ordering-doesnt-work-with-wp_query/)
 * There are many issues here regarding the use of WP_Query with this plugin but
   why does the author keep mum about it? Why don’t you just tell them that this
   doesn’t work with WP_Query?
 * [http://wordpress.org/extend/plugins/simple-page-ordering/](http://wordpress.org/extend/plugins/simple-page-ordering/)

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

 *  [eric55on](https://wordpress.org/support/users/eric55on/)
 * (@eric55on)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-simple-page-ordering-doesnt-work-with-wp_query/#post-3056718)
 * Just figured the thing out. There is even a video describing the drag and drop
   functionality BUT there isn’t a single WP_query demo! After a week, I noticed
   in the backend the link for ordering posts/pages (Sort by Order). The link:
 *     ```
       <a href="/wordpress/wp-admin/edit.php?post_type=competence&orderby=menu_order+title" class="current">Sort by Order</a>
       ```
   
 * You can see the query ordering:**orderby=menu_order+title**. So using this in
   a WP_query sorts the custom posts in the correct maner.
 * My example:
 *     ```
       $new = new WP_Query(array( 'post_type' => 'competence', 'orderby' => 'menu_order', 'order' => 'asc', 'showposts' => '100' ));
           while ($new->have_posts()) : $new->the_post();
       ```
   
 * You’r welcome 🙂
 *  Plugin Contributor [Jake Goldman](https://wordpress.org/support/users/jakemgold/)
 * (@jakemgold)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-simple-page-ordering-doesnt-work-with-wp_query/#post-3056739)
 * Yea, the plug-in intentionally doesn’t change default front end or WP_Query behavior.
   You must specify menu_order if it’s not a hierarchical post type that sorts in
   that order by default.
 *  [Erlend](https://wordpress.org/support/users/sadr/)
 * (@sadr)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-simple-page-ordering-doesnt-work-with-wp_query/#post-3056743)
 * Maybe you should look into how the near-identical plugin [Post Types Order](http://wordpress.org/extend/plugins/post-types-order/)
   solves this by prompting the user to allow the plugin to change WP_Query behavior.
 * I really wanted to use Simple Page Ordering because of its seamless interface,
   but the incompatibility with certain post types (in my case WooThemes’ Portfolio)
   is unfortunately a deal-breaker for me and my purposes.
 *  Anonymous User 11986954
 * (@anonymized-11986954)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/plugin-simple-page-ordering-doesnt-work-with-wp_query/#post-3056787)
 * Whenever you choose one approach or the other, one line like:
 * To order a custom query add the ‘orderby’ => ‘menu_order’, ‘order’ => ‘asc’ options
 * takes 3 seconds to add to the docs.

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

The topic ‘[Plugin: Simple Page Ordering] Doesn't work with WP_Query’ is closed 
to new replies.

 * ![](https://ps.w.org/simple-page-ordering/assets/icon-256x256.png?rev=2716033)
 * [Simple Page Ordering](https://wordpress.org/plugins/simple-page-ordering/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-page-ordering/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-page-ordering/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-page-ordering/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-page-ordering/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-page-ordering/reviews/)

## Tags

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

 * 4 replies
 * 5 participants
 * Last reply from: Anonymous User 11986954
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/plugin-simple-page-ordering-doesnt-work-with-wp_query/#post-3056787)
 * Status: resolved