rounded top
Vote for a site and get traffic to your own, or in other words... be nice for rice!
rounded left rounded right
rounded top
rounded bottom
rounded top

This blog has closed. Sorry!

Random Posts Wordpress Plugin

May 21st, 2007 by Spud Oregon

Zaib Kaleem of Wireless Networks, spotted the Random Posts box at the top of the front page and emailed me to ask whether it was custom code or a plugin. Actually, like most of this site, I wrote the code straight into the theme, but he did inspire me to convert what I had done into a downloadable plugin that anyone could use.

An example of a list of random posts. Showing random posts is a great way to bring old articles out of the archive for all to see. They also offer something for your visitors to read when you haven’t updated your site in a while!

This plugin runs in a similar fashion to the Recent Posts plugin you can see in the sidebar. Just select how many posts you want to show and a list of random posts will be generated.

I can’t promise it will work for everyone, but here it is, the N4R Random Posts plugin for Wordpress!

View the ReadMe file - all the instructions are here.

Download random_posts.zip - ReadMe file included.

If you use this on your blog, please let me know about it!

Update: I found a Random Posts Widget on the Wordpress site that looks like it does the same thing - here.

Rice: Carpet Cleaning Tips Human edited webmaster bid for position web directory. psychogeographical, nuclear, musical crazyness AlanWho.com helps you win online! Management kualitas blog a blog about a blogger/ entrepreneur's life, business, tips, money and jerky cuban stories Surveys for Australians - and everyone else - that really pay. All legit, reviewed and free to join! Birding and Conservation Blog My Personal Article Collections Los mejores Trucos para descargar de Megaupload, Rapidshare, etc. wallpapers, programas, utilidades. Project Ego is a site entirely dedicated to bringing the latest news regarding Fable 2 for the Xbox 360. An Inuyasha Fan Club! Digital sandbox and soapbox  of a software tester. It's not only fruity, it's oaty! Foodie techie. habbo forum NiggyBuzz Blog: Make Money Online Web development services for small and mid-sized business. Meditation Music for stress relief Search Engine Marketing, SEO and Advertising! Tabatha Ferrell

Posted on May 21st, 2007 in Wordpress.
Comments: 29

Voting has been disabled for all posts since this site's closure on 9/13/2007.


29 Comments

2007-05-21 09:39:03

Beautiful! I just installed and it works great. Thanks!

Comment by Spud Oregon
2007-05-21 10:05:16

Phew! That’s great news, and it looks good, too!

2007-05-21 12:14:44

Just added manual link to direct some “rice” your way. Thanks again!

Comment by Spud Oregon
2007-05-24 08:32:47

Thanks Zaib, that’s a nice gesture.

(Comments wont nest below this level)
 
 
 
 
Comment by Culture Shiok!
2007-05-22 08:43:52

Now this will be a crowd drawer!

Cheers! ;)

 
2007-05-23 08:10:40

[…] over at Nice4Rice just delved into the land of WordPress plugins. He may never be the same. Spud reviews a lot of […]

 
Comment by msdanielle
2007-05-23 23:54:25

i did it! :D yay! i couldn’t figure it out at first, but i got it up and running!

Comment by Spud Oregon
2007-05-24 08:31:40

Cheers Danielle. If you have any tips on how I can make the instructions clearer, let me know!

 
 
Comment by Court
2007-05-24 20:35:33

The related posts pluging does a great job of that too. I think your name for the plugin is better, Possibly Related, I like it. :)

 
Comment by dieselfire
2007-05-24 21:08:18

woah! You truly share your wealth of experience.

:D

Super excellent idea though it might not work on my full-of-rants blog!

 
Comment by Culture Shiok!
2007-05-25 05:32:08

Can you make one for Blogger? hehehe….

 
2007-06-01 05:07:52

[…] Random Posts Wordpress Plugin […]

 
Comment by Karlo.PinoyBlogero Subscribed to comments via email
2007-06-03 00:28:22

gee… sure looks promising, Spud. I think I’ll try it on my blog. If I come to like it, I’ll shoot you a message. This is your own code? Rice work! Err.. I mean ‘nice work!’

 
Comment by Karlo.PinoyBlogero Subscribed to comments via email
2007-06-10 03:25:13

hi! I have been able to put up your helpful plugin on my site. Once again, another rice for Spud’s hard work!

Comment by Spud Oregon
2007-06-10 06:55:13

Great! Thanks for letting me know.

 
 
Comment by Victor Subscribed to comments via email
2007-06-16 22:33:30

Anyone can help me? Why it shows “none found” in my blog? I just have 9 posts right now.

Comment by Spud Oregon
2007-06-17 00:04:28

That’s strange. The “None Found” message appears when it can’t find any published posts, i.e. drafts and pages don’t count.

Even with only 9 posts, it should still work. How many posts do you want it to show? And what’s your URL?

 
 
Comment by Victor Subscribed to comments via email
2007-06-17 01:14:52

I’ve been using type of permalink like this : http://www.mysite.com/my-post-title/

before: http://www.mysite.com/2007/05/21/my-post-title/
I’ve removed /2007/05/21

is there anything wrong with this type of permalink?

Comment by Spud Oregon
2007-06-17 06:18:54

The permalink makes no difference because Wordpress is counting the posts and pulling them from the database. Use the contact form to email me your url, how many posts you want to show, and the function call you are using.

 
 
2007-06-19 10:36:37

[…] installed some new wordpress plugins in my blog. These plugins are Adsense deluxe, Buy me a beer, Random Posts plugin, SRG Clean Archives and Sidebar Widgets. All these 5 plugins have added different functionalities […]

 
Comment by lipskin Subscribed to comments via email
2007-06-20 18:11:03

The “None Found” problem is probably due to using this plugin in a version of WordPress older than 2.1. Older versions only marked posts with a post_status of “publish” and the post_type field was always left empty. Removing “AND post_type = ‘post’” from the two query strings will make it work in older versions. I tested this on 2.0.5 and it worked great… and it was yet another reminder that I need to upgrade! Thanks for the plugin!

Comment by Spud Oregon
2007-06-20 20:43:41

Good thinking, lipskin! I bet that’s the problem. The plugin looks great on your site. Thanks for using it!

 
 
Comment by Victor Subscribed to comments via email
2007-06-20 20:39:15

Thanks lipskin! The plugin is working now!

 
Pingback by Zufällige Artikel
2007-06-22 10:25:28

[…] Plugin lässt sich HIER […]

 
Comment by Daniel
2007-06-22 13:57:25

Hi there, thanks for the plug in! I’m using it at Strenge Jacke!. I modified it by myself, perhaps it’s an option for you as well: I chose to let only postings from a certain category be displayed. Maybe you could change your plug in in a way that there’s another parameter which allows choosing all/one/variuous numbers of categories?

 
Comment by Lukas
2007-06-24 00:40:04

Thank you very much for this plugin. Works great! :)

 
Comment by jerkybeef
2007-07-09 21:12:19

Great plugin… I experienced the same as everyone else, a smooth install no headaches, great!

 
Comment by Fable
2007-08-08 12:10:36

Me too! This plugin is fantastic and easy to install. Thank you, N4R.com! ;)

Steve

 
 

Sorry, the comment form is closed at this time.

rounded bottom
rounded top
rounded bottom
rounded top
rounded bottom
rounded top
rounded bottom
rounded bottom