Title: Post ID order
Last modified: August 22, 2016

---

# Post ID order

 *  Resolved [António Carreira](https://wordpress.org/support/users/streetdog1971/)
 * (@streetdog1971)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/post-id-order/)
 * Hi there.
 * Thanks for the amazing plugin, great work!
 * I’m having the following “problem”:
 * When using “Comma-separated list of post IDs” I insert the Post ID’s like:
    62,58,26
 * I’m expecting the output to be something like:
    - Post ID = 62
    - Post ID = 58
    - Post ID = 26
 * But it’s not. It outputs in the wrong order:
    - Post ID = 62
    - Post ID = 26
    - Post ID = 58
 * Is there a way to make this right?
 * Thanks in advance!
 * [https://wordpress.org/plugins/flexible-posts-widget/](https://wordpress.org/plugins/flexible-posts-widget/)

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

 *  Plugin Author [DaveE](https://wordpress.org/support/users/dpe415/)
 * (@dpe415)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/post-id-order/#post-5351666)
 * Hi StreetDog,
 * You’ll want to set the “Order Posts By” setting to **Post ID Order**. It’s the
   last option for the “Order Posts By” setting.
 * Cheers!
 *  Thread Starter [António Carreira](https://wordpress.org/support/users/streetdog1971/)
 * (@streetdog1971)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/post-id-order/#post-5351669)
 * Already tried it, doesn’t work…
    Nor does the Ascending and Descending options.
 *  Plugin Author [DaveE](https://wordpress.org/support/users/dpe415/)
 * (@dpe415)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/post-id-order/#post-5351671)
 * Double check. There is an option called **Post ID** and also one called **Post
   ID Order**. Make sure it’s **Post ID Order**.
 * I’m confident that it is working. I just tested again using a default site build
   with TwentyFourteen. If it still isn’t working, then there must be a theme or
   plugin filter overriding the query.
 *  Thread Starter [António Carreira](https://wordpress.org/support/users/streetdog1971/)
 * (@streetdog1971)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/post-id-order/#post-5351685)
 * Ok, I’ve found the culprit, I was using the “Simple Custom Post Order” plugin
   and it was messing with FPW post order.
 * Thanks a lot for your quick reply!
    Cheers!
 *  Thread Starter [António Carreira](https://wordpress.org/support/users/streetdog1971/)
 * (@streetdog1971)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/post-id-order/#post-5351893)
 * Hi there!
 * I’m sorry to get back on this topic but I’m having some trouble again.
 * It looks like there’s a conflict between this widget and most of the post sorting
   widgets.
    Here’s a couple widgets that I’ve tried, both with the same results:
 * [https://wordpress.org/plugins/anything-order/](https://wordpress.org/plugins/anything-order/)
   
   [https://wordpress.org/plugins/simple-custom-post-order/](https://wordpress.org/plugins/simple-custom-post-order/)
 * What happens is that the order of the posts on FPW is changed when I install 
   one of those widgets.
    Is there a way to avoid it?
 * Thanks in advance!
 *  Plugin Author [DaveE](https://wordpress.org/support/users/dpe415/)
 * (@dpe415)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/post-id-order/#post-5351894)
 * Hi StreetDog, this is an issue with all of these plugins being too “loose” with
   which queries they re-order. Basically, the plugins aren’t limiting their reordering
   code to the main query or any other limiter. *Every* query that matches the post
   type or taxonomy that you have “custom ordered” with these plugins will be affected,
   even the queries generated by FPW.
 * There isn’t any way for my plugin to “undo” the query adjustments those plugins
   are making. I’d suggest using a better custom sorting plugin. My preference is
   always the [ordering plugins from NSP Code](http://www.nsp-code.com/wordpress-plugins/)(
   they are paid, but very powerful and well coded).
 * Cheers!
 *  Thread Starter [António Carreira](https://wordpress.org/support/users/streetdog1971/)
 * (@streetdog1971)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/post-id-order/#post-5351895)
 * Hi!
 * Thanks again for your patience.
    I’ve tested one of the NSP Code free plugins
   but it didn’t work. Couldn’t figure out why.
 * I found this one: [https://wordpress.org/plugins/metronet-reorder-posts/](https://wordpress.org/plugins/metronet-reorder-posts/)
   
   It works great. I can sort all my CPT on the backend and maintain the FPW order
   on the frontend. It also allows me to sort by menu order, so I guess I’m a happy
   camper now. 😉

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

The topic ‘Post ID order’ is closed to new replies.

 * ![](https://ps.w.org/flexible-posts-widget/assets/icon-256x256.jpg?rev=984592)
 * [Flexible Posts Widget](https://wordpress.org/plugins/flexible-posts-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-posts-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-posts-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-posts-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-posts-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-posts-widget/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [António Carreira](https://wordpress.org/support/users/streetdog1971/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/post-id-order/#post-5351895)
 * Status: resolved