Title: Sort order in shortcode?
Last modified: August 31, 2016

---

# Sort order in shortcode?

 *  Resolved [Birgit Pauli-Haack](https://wordpress.org/support/users/bph/)
 * (@bph)
 * [10 years ago](https://wordpress.org/support/topic/sort-order-in-shortcode/)
 * Hi Jan,
 * Could you help me figuring out how to use the sort order in our short code for
   this page
    [http://folkmoot.dreamhosters.com/testing-sponsors/](http://folkmoot.dreamhosters.com/testing-sponsors/)
   We use: [sponsors images=”yes” style=”linear” size=”medium” description=”no” 
   sortorder=”yes”] but that doesn’t seem to work. It only displays them according
   to publication date. Your help would be greatly appreciated. Once, I figured 
   it all out I assist with putting shortcode help page together so you can share
   with your plugin users.
 * Birgit
 * [https://wordpress.org/plugins/wp-sponsors/](https://wordpress.org/plugins/wp-sponsors/)

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

 *  [janhenckens](https://wordpress.org/support/users/janhenckens/)
 * (@janhenckens)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/sort-order-in-shortcode/#post-7261571)
 * Hey Birgit
 * The shortcode currently does not support the sort order parameter, so that would
   be why it’s not working for you right now 🙂
    I have however been getting this
   question quite often lately so I’ll have a look at adding this. Let me get back
   to you in a couple of days!
 * Jan
 *  Thread Starter [Birgit Pauli-Haack](https://wordpress.org/support/users/bph/)
 * (@bph)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/sort-order-in-shortcode/#post-7261583)
 * Thanks for much for getting back to me! Ha. That explains it.
    It seems at the
   moment we worked it out via publishing date adjustments. But it really would 
   help if we could use the already available field for sort order, and if you take
   a feature request, to make the sort order also available when displaying sponsors
   by categories. So it would bleed through.. I am not the best php coder, but I
   am a thorough tester (haha) and a set of site that also could use this plugin.
   So shoot me an email [birgit.pauli@gmail.com](https://wordpress.org/support/topic/sort-order-in-shortcode/birgit.pauli@gmail.com?output_format=md)
   if you need help with this plugin.
 * Birgit
 *  [janhenckens](https://wordpress.org/support/users/janhenckens/)
 * (@janhenckens)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/sort-order-in-shortcode/#post-7261591)
 * Hey Birgit
 * I just release an update that adds menu_order sorting to the shortcode by default.
   
   Can you try the update on your end?
 * Thanks!
    Jan
 *  Thread Starter [Birgit Pauli-Haack](https://wordpress.org/support/users/bph/)
 * (@bph)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/sort-order-in-shortcode/#post-7261592)
 * So the shortcode to test would look something like this?
    [sponsors images=”yes”
   style=”linear” size=”medium” description=”no” menu_order=”yes”]
 *  [janhenckens](https://wordpress.org/support/users/janhenckens/)
 * (@janhenckens)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/sort-order-in-shortcode/#post-7261595)
 * You don’t have to add the “menu_order” option, it’ll do that by default.
 *  [batate](https://wordpress.org/support/users/batate/)
 * (@batate)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/sort-order-in-shortcode/#post-8460477)
 * I’m having the same problem here:
    [http://www.gl12racing.com/partners/](http://www.gl12racing.com/partners/)
 * it’s putting them in date order – so I have to fudge the dates to get them in
   the correct order!
 *  [janhenckens](https://wordpress.org/support/users/janhenckens/)
 * (@janhenckens)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/sort-order-in-shortcode/#post-8478627)
 * Hey [@batate](https://wordpress.org/support/users/batate/) (and [@bhp](https://wordpress.org/support/users/bhp/)),
   and the parameter actually is “orderby”, which defaults to “menu_order”. So you
   shouldn’t have to add it.
 * Do make a new post here if you’re still having any issues!
    Thanks for using 
   my plugin 🙂
 * Jan

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

The topic ‘Sort order in shortcode?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-sponsors_e7e7e7.svg)
 * [Sponsors](https://wordpress.org/plugins/wp-sponsors/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-sponsors/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-sponsors/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-sponsors/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-sponsors/reviews/)

## Tags

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

 * 7 replies
 * 3 participants
 * Last reply from: [janhenckens](https://wordpress.org/support/users/janhenckens/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/sort-order-in-shortcode/#post-8478627)
 * Status: resolved