Title: orderby=rand shortcode not working
Last modified: January 11, 2020

---

# orderby=rand shortcode not working

 *  Resolved [chubacca](https://wordpress.org/support/users/chubacca/)
 * (@chubacca)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/orderbyrand-shortcode-not-working/)
 * I have been using this combo of shortcakes [jobs per_page=”21″ show_pagination
   =true orderby=”rand”] and it’s displaying results in a strange way.
 * Reloading the page changes the order of listings, so there is some randomness
   involved. However, the same 21 listings are always on page 1 and again the same
   4 listings are always on page 2. Is that normal behaviour?
 * As well, there are some listings which are missing, and others which are duplicated
   on page 1 and 2. So the total number is correct, but the listings themselves 
   aren’t. When I delete the orderby instructions, then the listings display correctly,
   25 unique listings on 2 pages.
 * I am using the Robolist Pro theme, in case there are known issues with the theme.

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

 *  [hastibe](https://wordpress.org/support/users/hastibe/)
 * (@hastibe)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/orderbyrand-shortcode-not-working/#post-12315901)
 * I think this might be a known issue of this plugin, unfortunately. See: [github.com/Automattic/WP-Job-Manager/issues/1781](https://github.com/Automattic/WP-Job-Manager/issues/1781)
 *  Plugin Contributor [Richard Archambault](https://wordpress.org/support/users/richardmtl/)
 * (@richardmtl)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/orderbyrand-shortcode-not-working/#post-12328881)
 * I concur, it does sound like that issue, sorry!
 *  Plugin Contributor [Richard Archambault](https://wordpress.org/support/users/richardmtl/)
 * (@richardmtl)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/orderbyrand-shortcode-not-working/#post-12457362)
 * I’m marking this thread as Resolved as it’s been more than a month since the 
   last reply. If you still need help, please do reply again and mark the thread
   as Unresolved!

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

The topic ‘orderby=rand shortcode not working’ is closed to new replies.

 * ![](https://ps.w.org/wp-job-manager/assets/icon-256x256.gif?rev=2975257)
 * [WP Job Manager](https://wordpress.org/plugins/wp-job-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-job-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-job-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-job-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-job-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-job-manager/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Richard Archambault](https://wordpress.org/support/users/richardmtl/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/orderbyrand-shortcode-not-working/#post-12457362)
 * Status: resolved