Random Posts Plugin for Wordpress

October 21st, 2007 | This article was viewed 1,019 times so far...
randomposts

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

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

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 : 88

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





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 goodEmoticon

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

  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 youEmoticon

    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.EmoticonIt’ll be part of the To Do list.Emoticon

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

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

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

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

  24. Gravatar at goldfries.com David said :

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

Have Something To Say?

bottom shade
bottom shade

My Beloved Readers

bottom shade wide

© 2007 - 2008 goldfries.com | Powered by WordPress | Theme by goldfries | goldfries.com is 455 days old