Title: Random Post / plus last posts_
Last modified: August 18, 2016

---

# Random Post / plus last posts_

 *  [laurenz](https://wordpress.org/support/users/laurenz/)
 * (@laurenz)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/random-post-plus-last-posts_/)
 * I think it would be nice to have a plugin/hack that allowed you to display the
   last “n” posts (as in the standard configuration) plus 1 or more random posts
   from the past.
    This way, regular visitors would be able to check out the newest
   entries, while posts from the past could still get a “new life” on the frontpage.
   This might also help to bring search engines to ones archive files. I searched
   here and in the plugin sections and found several approaches to display random
   entries but none that combined this with the standard setup. If a solution already
   exists., it would be nice if someone could point me to it. Thank you very much!
   Laurenz

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

 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/random-post-plus-last-posts_/#post-66724)
 * There are hacks that do each. I haven’t seen any that will do both. It shouldn’t
   take much to combine them if that is what you are asking (and might cut down 
   on your database queries).
    As for “bringing search engines to ones archive files”,
   they shouldn’t have any problem follow the links.
 *  [davidchait](https://wordpress.org/support/users/davidchait/)
 * (@davidchait)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/random-post-plus-last-posts_/#post-66728)
 * I have a top-posts thing that is somewhat similar — displays the first 3 top 
   posts, then another 3 randomly from the top 30 or so. (Those numbers are all 
   configurable…)
    I’d have to think about how to do this efficiently. How far randomly
   into the past do you want to look? 100 posts good enough? -d [CHAITGEAR](http://www.chait.net)
 *  Thread Starter [laurenz](https://wordpress.org/support/users/laurenz/)
 * (@laurenz)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/random-post-plus-last-posts_/#post-66762)
 * “How far randomly into the past do you want to look? 100 posts good enough?”
   
   Actually, more would be better – I have a photo log and it would be nice if some
   of the older pictures would come up every now and again. Maybe one could define
   an “offset”, so that it would be possible to restrict the number of posts and
   at the same time make it possible to use the whole archive? “As for “bringing
   search engines to ones archive files”, they shouldn’t have any problem follow
   the links.” I hope so. I converted my photolog from MT a while ago and at the
   same time added a photo tips and tricks section (on the same level, with even
   fewer incoming links). So far, Google has fully indexed the photo tips and given
   them a PageRank of “5”. It only indexed the first page of the photo log, however,(
   the other pages have not even been cached yet) and did not assign a PageRank 
   to it. Of course, this may change with the next update… I’m using redirects producing(
   hopefully) spider-friendly addresses. In any case, it can take a while until 
   search engines reach the “bottom layers” of a site – the more deep links there
   are, the easier this is. The random post from the archives would essentially 
   give search engines a new deep link each time they visit – and add variety for
   the humans of course! Laurenz

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

The topic ‘Random Post / plus last posts_’ is closed to new replies.

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 3 replies
 * 3 participants
 * Last reply from: [laurenz](https://wordpress.org/support/users/laurenz/)
 * Last activity: [21 years, 10 months ago](https://wordpress.org/support/topic/random-post-plus-last-posts_/#post-66762)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
