Couple of days ago, a regular reader Fauzi (aka Cyperhackz) asked me how to show random post on the top of the blog and which plugin I used to do that.
Well there are lots of plugins out there for wordpress which enables you to show random post, but I use Random Posts from WASABI. If you strategically place Random Post on your blog it can be really useful. It gives deeper access for visitors on your blog.
Installation:
This plugin is fairly simple to install, Just download Random Posts Plugin by WASABI. Unzip it and upload it to your /wp-content/plugins directory using your favorite FTP client. Then go to Plugins in your Wordpress Admin panel and activate it.
Now Modify this code and add it to your Template
[code lang="php"]< ?php random_posts($limit, $len, $before_title, $after_title, $before_post, $after_post, $show_pass_post, $show_excerpt); ?>[/code]
[code]$limit - No. of posts to show.
$len - Lenght of auto-generate excerpt.
$before_title - Text to appear before the entry title.
$after_title - Text to appear after the entry title.
$befor_post - Text to appear before the entry excerpt.
$after_post - Text to appear after the entry excerpt.
$show_pass_post = Include/exclude password protected entries (Default: false).
$show_excerpt = Show/hide excerpt (Default: false).[/code]
Example: If you wish to show only a single random post (like mine), use the following tag
[code lang="php"]< ?php random_posts(1, 0, '', '', '', '', false, false); ?>[/code]
[tags]Wordpress, Random Posts, Plugins, Blogging[/tags]

wrote, on August 14th, 2006
Incase if you want to make your Random Posts look exactly as mine, then add these lines to the end of your style.css
[code lang="css"]#outerslice {
background: #ffc;
border-bottom: 1px solid #fc0;
margin: 0 0 5px 0;
padding: 4px 0;
text-align: center;
}
#slice {
width: 880px;
margin: 0 auto;
}[/code]
And then Add this line Exactly after < body >, in your header.php
[code lang="php"]
Random Read: < ?php random_posts(1, 0, '', '', '', '', false, false); ?>
[/code]
wrote, on August 14th, 2006
thanks for the info buddy. this plugin really useful for visitors. thanks again…
wrote, on September 11th, 2006
Hi, if I wanna include excerpt in random post - I set the option to value “true” ? Because I tried that and see no excerpt.:(
Any ideas? thanks:)
wrote, on September 12th, 2006
Vladi: Well, it worked for me. Better ask this question to the author
wrote, on October 10th, 2006
Thanx thilak. Your post really benifit me.
wrote, on October 10th, 2006
Fuad: No Problem, Keep reading TechBuzz
wrote, on March 30th, 2007
hi there,
im interested in this plugin. im new to wordpress and have no knowledge of php, very little with html and css. what file do i need to edit to put that code. is it the index.php? and do i just put the code in the end of the file?
thanks!
wrote, on September 16th, 2007
do you know any plugin that display random image of our post instead of the text post?
wrote, on November 16th, 2007
The download URL is dead, as well as the plugin’s site : http://www.w-a-s-a-b-i.com/arc.....ts-plugin/
Where can I find this plugin now ?
wrote, on November 22nd, 2007
This plugin is now here: http://wasabi.pbwiki.com/Rando.....20Excerpts
wrote, on November 28th, 2007
[...] se direktno odlazi na neki post koji možda nije meÄ‘u pet odabranih. Lista se generira pomoću Random Post plugin-a, a link kojim se bira neki sluÄajni tekst dobiven je s plugin-om Random [...]
wrote, on January 30th, 2008
[...] varios plugins, pero no he conseguido hacer funcionar ninguno. En tech-buzz recomiendan el Random Posts Plugin de Wasabi, pero la página parece estar caÃda. Una pena, que [...]
wrote, on February 21st, 2008
Thanks it’s very useful! I’ve used it in my blog
wrote, on June 5th, 2008
It seems that the download page is down.