Title: Random specific posts
Last modified: August 18, 2016

---

# Random specific posts

 *  [newboxters](https://wordpress.org/support/users/newboxters/)
 * (@newboxters)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/random-specific-posts/)
 * How do I do to raffle aleatory some posts that I to select?
 * Example:
    I choose the id posts: 1, 7, 13, 22 and 42
 * And I made a prominence area to exhibit just one of them, and when it refresh
   the page, I exhibited another one (random).
 * Did I see plugins, but is everybody to random any post, and me precise to random
   specific posts and do I believe that won’t need plugins for that, it could help
   me?
 * Thank you.

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

 *  Thread Starter [newboxters](https://wordpress.org/support/users/newboxters/)
 * (@newboxters)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/random-specific-posts/#post-600953)
 * No is possible?
 *  [julious](https://wordpress.org/support/users/julious/)
 * (@julious)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/random-specific-posts/#post-600964)
 * I would also like to know on this resource.
    Is it possible to show aleatory 
   posts (random), with base in those what did I select?
 *  Thread Starter [newboxters](https://wordpress.org/support/users/newboxters/)
 * (@newboxters)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/random-specific-posts/#post-600981)
 * Does still nobody know?
 *  [Adam Brown](https://wordpress.org/support/users/adamrbrown/)
 * (@adamrbrown)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/random-specific-posts/#post-600982)
 * I’m not sure I understand. Are you looking for a widget to place a random post
   title in your sidebar?
 *  Anonymous User 393930
 * (@anonymized-393930)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/random-specific-posts/#post-601019)
 * This is possible with the [Random One Cat Widget](http://wordpress.org/extend/plugins/random-one-cat-widget/).
   Since you just assign these posts to a category and then it will choose one of
   them to display.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [17 years, 10 months ago](https://wordpress.org/support/topic/random-specific-posts/#post-601020)
 * …
 *     ```
       $postnums = array(1, 7, 13, 22, 42);
       shuffle($postnums);
       $post=get_post($postnums[0]);
       ```
   

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

The topic ‘Random specific posts’ is closed to new replies.

## Tags

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

 * 6 replies
 * 5 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [17 years, 10 months ago](https://wordpress.org/support/topic/random-specific-posts/#post-601020)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
