Title: Hack &#8211; Random Post order
Last modified: August 19, 2016

---

# Hack – Random Post order

 *  [staceyk18](https://wordpress.org/support/users/staceyk18/)
 * (@staceyk18)
 * [17 years ago](https://wordpress.org/support/topic/hack-random-post-order/)
 * Hey!
 * Just wondering if you are able to display posts in a category page in a random
   order? I tried it using this code [http://www.wprecipes.com/how-to-randomize-posts-orde](http://www.wprecipes.com/how-to-randomize-posts-order)
   r , but it displayed all categories on a page, not the category I was on.
 * In the above link there is an option to add the cat id to the query, but I have
   at least 30 categories, so wondering if there is a quicker way to do it instead
   of doing conditional tags for each category.
 * Thanks
    Stacey

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

 *  Thread Starter [staceyk18](https://wordpress.org/support/users/staceyk18/)
 * (@staceyk18)
 * [17 years ago](https://wordpress.org/support/topic/hack-random-post-order/#post-1088697)
 * Hi…
 * Anyone have any ideas on this? Havent heard from anyone.
 * Thanks
 *  [tmldesign](https://wordpress.org/support/users/tmldesign/)
 * (@tmldesign)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/hack-random-post-order/#post-1088739)
 * Hey! This is exactly what I need to find too!! Any ideas anyone?

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

The topic ‘Hack – Random Post order’ is closed to new replies.

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [tmldesign](https://wordpress.org/support/users/tmldesign/)
 * Last activity: [16 years, 12 months ago](https://wordpress.org/support/topic/hack-random-post-order/#post-1088739)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
