Random Posts Plugin for WordPress

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.

67 Comments

  1. 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.

  2. 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…

  3. Author

    Joyce : thanks! glad to hear that!

    pelf : noted.

    思斌 : the previous one displays blogroll la. 🙂

  4. 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

  5. Another v2020 for you 😛

    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 .

  6. Author

    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. 🙂

  7. 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.

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

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

  10. Author

    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.

  11. 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.


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

  13. 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!

  14. Author

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


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

  16. Author

    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. 🙂

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

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

  19. Author

    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. 😀 55% of the visitors at goldfries.com are from Google.

  20. 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.

  21. Author

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

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

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

  24. 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

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

  26. 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!

  27. 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.

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

  29. 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.

  30. Author

    @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.

  31. 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.

  32. Author

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

  33. 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.

  34. 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

  35. 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.

  36. 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.

  37. Hello, I’m a webmaster in Paris. Just wanted to tell you I thought your blog was cool. Thank you!

  38. Yop!, I’m a webmaster in Paris. Just wanted to say I thought your blog was cool. Thanks for updating it!

  39. Hi, You have good ideas within you. Thanks for sharing them. 🙂

  40. Great information I just lately arrive throughout your website and also have been studying alongside. I thought I would depart my inaugural comment. I don’t know what todivulgeexcept that I have enjoyed studying. Detail blog. I will hold visiting this web site very each.

  41. I am very thankful to this topic because it really gives great information ;`*

  42. I am very thankful to this topic because it really gives great information *.’

  43. There are definitely lots of details like that to take into consideration. That is a great level to carry up. I offer the ideas above as general inspiration but clearly there are questions just like the one you carry up the place a very powerful thing shall be working in trustworthy good faith. I don?t know if finest practices have emerged round issues like that, however I am certain that your job is clearly identified as a fair game. Each boys and girls feel the affect of just a moment’s pleasure, for the rest of their lives.

  44. No doubt plugin is very nice. I would really be thankful if you provide me with some category that user can give more attention which can re distribute the internal links.

  45. I was recommended this web site by my cousin.
    I am not sure whether this post is written by him as no
    one else know such detailed about my trouble. You’re incredible!
    Thanks!


Comments are closed.