Random Posts Plugin for Wordpress

October 21st, 2007 | This article was viewed 6,426 times so far...
randomposts

Yay! Here’s another plug-in for Wordpress blog-engine created by yours truly!

:) It works like the previous one but for a different purpose

The Random Posts Plug-in chooses a fixed number of links from your posts at random and displays them.


* Note : The Random Blogroll plug-in has been updated.
** Note : I’m using the same installation pictures from Random Blogroll. Why? Because it works the same. :)

Installation

Here’s how you do it -

Step 1 – Upload the file goldfries_randomposts.php to your plugins directory. (the location is usually at : installation_directory/wp-content/plugins/ )

Step 2 – Enable the plugin. Click PLUGINS and ACTIVATE Random Posts.

randomposts

Using It On Your Blog – Widget

Here’s how you do it. Just click PRESENTATION, and click WIDGET.

If your theme is Widget-Aware, then you should have no problem dragging Random Posts widget into the Sidebar column as shown in the illustration below.

randomposts

Using It On Your Blog – Non-Widget (manual coding)

For those who are familiar with coding, all you need to do is edit your sidebar.php or whichever file you wish to place the Random Posts by placing the following code

<?php goldfries_randomposts(); ?>

Options For This Plugin

Just click OPTIONS, and click RANDOM POSTS. You’ll see a host of options on that page.

randomposts

Should you so happen to key a number that’s greater than your total number of posts, the plug-in will automatically adjust to display whatever it is that you have.

You could also set Title for the Random Post (like “Recommended Readings” or “You Must Read This“) and even mark-up the title with tags like <H2> for example.

Lastly, do remember to contact me or leave a comment here if you have problem using it or if it’s giving you problems.

download
Total Downloads : 266

Current Version : 1.0.0

Version Info

1.0.1 :
- Plug-in & Widget version.
- Options available via Administration Panel.
- Allows adding title.
- Allows appending title.
- Optimized code.
- Displays PUBLISHED posts only.

1.0.1 :
- Fixed wrong version number
- Fixed the FALSE UPDATE from Wordpress in Plugins panel. :)





Like this article? You can share it to the world with »
Digg StumbleUpon reddit del.icio.us Ma.gnolia Technorati
big divider

Conversations for “Random Posts Plugin for Wordpress”

  1. Gravatar at goldfries.com Joyce said :

    Tried and tested. Working good :)

  2. Gravatar at goldfries.com pelf said :

    Off-topic.
    FYI, “plugin” is written as “plugin”, not “plug-in”?
    “Plugin” is WordPress’ official word, but “plug-in” refers to something you plug into your wall.

  3. Gravatar at goldfries.com 思斌 said :

    I still prefer the previous one which randomly displayed from all our posts.

    But great job goldfries… never expect to see WP “plugin” done by my friend, hehe…

  4. Gravatar at goldfries.com goldfries said :

    Joyce : thanks! glad to hear that!

    pelf : noted.

    思斌 : the previous one displays blogroll la. :)

  5. Gravatar at goldfries.com Steve said :

    So far, so good. Haven’t encounter any weird scenario yet
    And I think this is the first plugin that takes out the page, as most of the plugin I found included page as post. Using it right now in my site

  6. Gravatar at goldfries.com goldfries said :

    Great! How many others have you tried?

  7. Gravatar at goldfries.com Steve said :

    Another v2020 for you :P

    Add in some options such as list post by category?
    That would be nice too as you could focus out some of the category that user feels they wants to give their attention more to .

  8. Gravatar at goldfries.com goldfries said :

    Great idea!

    Now I’ll just have to find a gap in my tight schedule to do that. :) It’ll be part of the To Do list. :)

  9. Gravatar at goldfries.com EmperorMeng said :

    do we need an upgraded wordpress acc to use this?
    the basic acc i jz created doesnt have the plugin option.
    and the css cant be edited.

  10. Gravatar at goldfries.com EmperorMeng said :

    oh.. and the testblog i tried was by wordpress.com,
    ive got a feeling that i need wordpress.org and pay for hosting?

  11. Gravatar at goldfries.com Joyce said :

    I never use wordpress.com before, but I think yes you need wordpress.org with your own hosting to do all the modifications.

  12. Gravatar at goldfries.com goldfries said :

    I checked my wordpress.com account, no plugin option. :)

    It wouldn’t be wise for them to allow plugins too.

    Firstly, plugins may require to edit database (add tables, for example)
    Secondly, plugins that are not compatible (with latest version) would show error
    Thirdly, plugins (and even some themes) might require to edit various other files like those in the wp-include directory.

  13. Gravatar at goldfries.com Steve said :

    Wordpress.com doesn’t allowed because of security issues
    You can’t even add sponsors/ads to it.

    If you want full customization and access to all the functions, Joyce has said it.

  14. Gravatar at goldfries.com goldfries said :

    Yeah, basically it’ll open a can of worms.

  15. Gravatar at goldfries.com Random Posts Plugin for Wordpress « goldfries said :

    [...] Continue reading » Random Posts Plugin for Wordpress [...]

  16. Gravatar at goldfries.com bLuefRoGX said :

    Its also because they’re using MU-Wordpress, not that many plugins are compatible with it yet.

  17. Gravatar at goldfries.com goldfries said :

    They’re using WP-MU? Oh. :)

  18. Gravatar at goldfries.com Jacky Yong said :

    I was really going to download Random Blogroll, but downloaded this instead. But I find it useful as well, so I have decided to keep it. Nice work, keep it up!

  19. Gravatar at goldfries.com goldfries said :

    Thank you! I have some other plugins in mind but it’s going to take a while before I get it done. :)

  20. Gravatar at goldfries.com Page Blank after upgraded to Wordpress 2.5.1 | Jacky Yong said :

    [...] plugin by Goldfries is giving me problems. Upon inspection, it’s actually the Random Post by Goldfries. My auto plugin update said that it needs an update, and that update has changed ownership. It no [...]

  21. Gravatar at goldfries.com goldfries said :

    Checked. Plugin had no issues with 2.5.1.

  22. Gravatar at goldfries.com David said :

    Is this your own plugin? Why does it say there is a new version and it redirects to another plugin?

  23. Gravatar at goldfries.com goldfries said :

    Yes David, it is my plugin.

    Anyway, I have no idea how it became like that. I saw it for quite a while but I haven’t looked into it………… until now.

    From what I understood, I titled it “Random Posts” and the system identified it to another RANDOM POST plugin.

    So now, I’ve uploaded the new version. :)

  24. Gravatar at goldfries.com David said :

    Nice :) …thanks. I chose yours over the other plugin cos it needed another plugin to work. How troublesome.

  25. Gravatar at goldfries.com goldfries said :

    Great! I’m glad you liked it.

  26. Gravatar at goldfries.com Zygor Guides said :

    Is this plugin considered a black hat? Will it somehow effect my search engine positions?

  27. Gravatar at goldfries.com goldfries said :

    It’s not even close to “black hat” SEO.

    I’ve been using this plugin myself and Google constantly returns my site at page 1 and top 5 results on many searches. :D 55% of the visitors at goldfries.com are from Google.

  28. Gravatar at goldfries.com increase adsense ctr said :

    Cool plugin and great tutorial on how to use it. My friend has been looking for a good plugin like this for awhile now. He’s really big on Wordpress so I will definitely have to tell him about this.

  29. Gravatar at goldfries.com goldfries said :

    Thanks! Glad you like it and I hope he likes it too.

  30. Gravatar at goldfries.com free java games 4 mobile said :

    thanks, I’ll try…

  31. Gravatar at goldfries.com Carl said :

    Thanks for this usefull information. I hope to read more in future.

  32. Gravatar at goldfries.com Proxies for Myspace said :

    Great article and informative post , definely I stumble up your blog post , expect a great traffic today from stumbleupon ! Mike

  33. Gravatar at goldfries.com mhjkjhlhl dfsgdfg said :

    Thanks

  34. Gravatar at goldfries.com natural pet care said :

    Thanks a lot for the informative article. Learnt many stuff from it. I’m still new to blogging so this is great. Thanks for it. Cheers

  35. Gravatar at goldfries.com Alex Malone said :

    great job goldfries

  36. Gravatar at goldfries.com Daniel said :

    Thanks bud!!

  37. Gravatar at goldfries.com goldfries said :

    Thanks everyone. :D

  38. Gravatar at goldfries.com Prepaid Phone Wireless said :

    Can you provide more information on this? I was looking for this additional information, just bookmarked to check the updates :)

  39. Gravatar at goldfries.com goldfries said :

    more information, like?

  40. Gravatar at goldfries.com ad said :

    hi goldfries. thanks for the information u shared. but by the way, i would be very glad if u could come out with a guide how to upload plugins to wordpress or something. was kinda noob at wordpress and started to regret it. was on tears already cause my blog doesnt look tat nice. have a nice day!

  41. Gravatar at goldfries.com local gas prices said :

    Thats an excellent plugin because by random it can redistrubue the internal linking power evenly throughout your blog instead of concentrating it on certain topics due to the search algorithms with plugins such as the “related posts” plugin.

  42. Gravatar at goldfries.com Steven L said :

    I just love your weblog! Very nice post! Still you can do many things to improve it.

  43. Gravatar at goldfries.com Martin H said :

    Generally I do not post on blogs, but I would like to say that this post really forced me to do so! really nice post.

  44. Gravatar at goldfries.com goldfries said :

    @ad – upload plugins? Generally it’s uploading it to the plug-in folder. After that, install the script via code editing or via widget, depending on the plug-in.

    @local gas (LOL. damn. odd names. I’m allowing it.) Anyway – yes, the idea is to introduce articles that may spark interest. Some could be missed.

    @Steven / Martin – thanks.

  45. Gravatar at goldfries.com pokerstratege said :

    I really liked your blog!

  46. Gravatar at goldfries.com nadine anddanes said :

    be careful, I’m not sure google likes links rotating randomly. But I guess if you’ve ran it for a while and nothing bad has happened it must be OK.

  47. Gravatar at goldfries.com goldfries said :

    So far no issues with Google. In fact this page is PageRank 1. :)

  48. Gravatar at goldfries.com Loan Modification said :

    I located your blog on google and really appreciate your posts. I have added you to my Google News Reader. I really look forward to reading more posts from you.

  49. Gravatar at goldfries.com one way links said :

    Hey there. came to your site after some time. certainly amused with this article ;) and your site as always. Random Posts Plug-in is a really cool plug-in. Thanks for the information. Cheers

  50. Gravatar at goldfries.com goldfries said :

    k thanks guys. :)

  51. Gravatar at goldfries.com Free Mobile java games said :

    thanks, I’ll try…

  52. Gravatar at goldfries.com Technology Tips said :

    Great “Plugin”! I’ll have to try this!

  53. Gravatar at goldfries.com Laptop connect said :

    thanks the info, I’ll try…

  54. Gravatar at goldfries.com Business ranch said :

    thank you mister..

  55. Gravatar at goldfries.com bird perch said :

    Thats an excellent plugin because by random it can redistrubue the internal linking power evenly throughout your blog instead of concentrating it on certain topics due to the search algorithms with plugins such as the “related posts” plugin.

  56. Gravatar at goldfries.com Game HP Gratis said :

    Great “Plugin”! I like this

  57. Gravatar at goldfries.com download youtube videos said :

    Thats an excellent plugin because by random it can redistrubue the internal linking power evenly throughout your blog instead of concentrating it on certain topics due to the search algorithms with plugins such as the “related posts” plugin.

Have Something To Say?

CommentLuv Enabled
bottom shade
bottom shade

© 2007 - 2010 goldfries.com | Powered by WordPress | Theme by goldfries | goldfries.com is 1018 days old | Hosted at serverfreak | 49 queries in 0.806 seconds.