Title: Default order for posts
Last modified: May 24, 2017

---

# Default order for posts

 *  Resolved [lking57](https://wordpress.org/support/users/lking57/)
 * (@lking57)
 * [9 years ago](https://wordpress.org/support/topic/default-order-for-posts/)
 * In testing this plugin it seems that when manual post order is turned on the 
   default is oldest post at the top, and for new posts to go at the bottom.
 * It would be good if the default manual ordering be configurable newest at top
   vs. oldest at top. As it stands I cannot use this plugin with the current behavior.

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

 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [9 years ago](https://wordpress.org/support/topic/default-order-for-posts/#post-9169987)
 * HI [@lking57](https://wordpress.org/support/users/lking57/)
 * that would be a nice feature to add, however it is a rather complex problem to
   solve. However, there is a way to implement this in your page template where 
   you want to display your ordered posts.
 * If you have some PHP coding experience, you need to
    1.  loop initially through posts whose IDs are not found in the plugin custom post
       table field `$wpdb->prefix .ReOrderPostWithinCategory::deefuse_ReOrder_tableName.'.
       post_id` where your term_id matches the field `$wpdb->prefix .ReOrderPostWithinCategory::
       deefuse_ReOrder_tableName.'.category_id'`
    2.  next loop through the post ID which are present the above fields
 *  -  This reply was modified 9 years ago by [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/).
    -  This reply was modified 9 years ago by [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/).
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [9 years ago](https://wordpress.org/support/topic/default-order-for-posts/#post-9169997)
 * There is a plan in a not-so-distant future to re-write this plugin and include
   this kind of flexibility.

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

The topic ‘Default order for posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/reorder-post-within-categories_c18d38.
   svg)
 * [ReOrder Posts within Categories](https://wordpress.org/plugins/reorder-post-within-categories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/reorder-post-within-categories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/reorder-post-within-categories/)
 * [Active Topics](https://wordpress.org/support/plugin/reorder-post-within-categories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reorder-post-within-categories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reorder-post-within-categories/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/default-order-for-posts/#post-9169997)
 * Status: resolved