Title: random posts?
Last modified: August 19, 2016

---

# random posts?

 *  [yegga](https://wordpress.org/support/users/yegga/)
 * (@yegga)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/random-posts-6/)
 * Hello,
 * I have many posts – one of them is sticky and sits on the top left always.
 * now every time i reload my home page i would like the rest of the posts to be
   displayed randomly, all except the sticky post.
 * how do i do this?

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/random-posts-6/#post-1411989)
 * To resort the order of posts, using the WordPress Default theme for example, 
   in the wp-content/themes/default/index.php file, just before the line:
    `<?php
   if (have_posts()) : ?>`
 * put this:
 *     ```
       <?php query_posts($query_string . '&orderby=rand'); ?>
       ```
   
 * The [query_posts() article](http://codex.wordpress.org/Template_Tags/query_posts)
   explains the arguments in detail.
 *  Thread Starter [yegga](https://wordpress.org/support/users/yegga/)
 * (@yegga)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/random-posts-6/#post-1412019)
 * michael this does not work for tanzaku. any ideas?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/random-posts-6/#post-1412059)
 * Maybe this:
    [http://wordpress.org/support/topic/364346?replies=2](http://wordpress.org/support/topic/364346?replies=2)
 * [http://wordpress.org/tags/tanzaku](http://wordpress.org/tags/tanzaku)

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

The topic ‘random posts?’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/random-posts-6/#post-1412059)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
