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.