Title: [Plugin: Display Posts Shortcode] manual orderby function
Last modified: August 20, 2016

---

# [Plugin: Display Posts Shortcode] manual orderby function

 *  Resolved [cranewashington](https://wordpress.org/support/users/cranewashington/)
 * (@cranewashington)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-display-posts-shortcode-manual-orderby-function/)
 * I am trying to display a list of a few selected posts, and I would like the list
   to be displayed in the same order as given in the shortcode:
 * [display-posts id=”233, 221, 227″]
 * I would like post 233 to be first, post 221 second, and post 227 third. However,
   the posts are displayed in the default order (order=desc, orderby=date). I tried
   using “orderby=none”, but this just displayed the posts in descending order of
   title.
 * PS awesome plugin, very useful!
 * [http://wordpress.org/extend/plugins/display-posts-shortcode/](http://wordpress.org/extend/plugins/display-posts-shortcode/)

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

 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-display-posts-shortcode-manual-orderby-function/#post-3045888)
 * Unfortunately that’s not an option. Here’s the only orderby types: [http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters](http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters)
 * You could just list the shortcode three times though:
 * [display-posts id=”233″]
    [display-posts id=”221″] [display-posts id=”227″]
 *  Thread Starter [cranewashington](https://wordpress.org/support/users/cranewashington/)
 * (@cranewashington)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-display-posts-shortcode-manual-orderby-function/#post-3045889)
 * No worries, that is a good work around, thanks!
 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-display-posts-shortcode-manual-orderby-function/#post-3045942)
 * This is now a feature of WordPress 3.5: [http://core.trac.wordpress.org/ticket/13729](http://core.trac.wordpress.org/ticket/13729)

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

The topic ‘[Plugin: Display Posts Shortcode] manual orderby function’ is closed 
to new replies.

 * ![](https://ps.w.org/display-posts-shortcode/assets/icon-256x256.jpg?rev=2940963)
 * [Display Posts - Easy lists, grids, navigation, and more](https://wordpress.org/plugins/display-posts-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/display-posts-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/display-posts-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-posts-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-posts-shortcode/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-display-posts-shortcode-manual-orderby-function/#post-3045942)
 * Status: resolved