WordPress

WordPress Static Random Posts Widget

After searching for some random posts widgets for WordPress, I couldn’t quite find the one that suited my needs.

See, I wanted something that displayed random posts. But, I also didn’t want the random posts to refresh every page load.

Now, why is that? Because I feel if a user is browsing my site, there might be two or even three interesting links in my random posts section. If a user clicks on any one of those links, the rest are lost.

With Static Random Posts, the random posts will remain the same for a set amount of time (on this blog, for 60 minutes).

Download Information

The plugin can be downloaded over at Static Random Posts Widget on WP Extend.

Installation

  1. Just unzip and upload the “static-random-posts” folder to your plugins directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Customize the global options (refresh rate, and categories) in the Settings panel.
  4. Go to Appearance->Widgets and drag the “Static Random Posts” widget into your widget enabled panels.
  5. Customize the widget title, and add a limit for how many posts to display.
  6. Repeat steps 4-5 for each additional widget added.

Installation Video

A video of the installation process as well as a description of the plugin is also available.

random-posts-screen
Click the image above to watch the video

Screenshot

screenshot-4
Random Posts Screenshot

Features

The widget is really simple, but here are some cool features.

Dedicated Admin Panel for…

  • Setting the refresh rate (minutes).
  • Setting which categories to exclude.

Individual Widget Options

  • Can assign a title for each widget.
  • Can assign a post limit for each widget.

Admin Refresh Options on a Post

If you are logged is as admin and are viewing a post, you will see a “Refresh” button beneath where the random posts are displayed. You can click this “Refresh” button and automatically refresh your random posts.

If you use WP Super Cache, clicking “Refresh” also clears the cache so your users can see the new random posts immediately.

The “Refresh” feature is useful for those who have long refresh times, but want to tweak the output a bit.

Comments

  1. I have been using the “Random Pages Widget” for quite sometime until I’ve found this plugin and implemented it on my blog. The best thing about this is the ability to exclude categories that the latter plugin doesn’t support. Way to go Ronald!

    -Mathdelane, Software Critics

  2. Hi,
    the admin refresh button is on my version not working. 2.9.2
    someting with ajax isnot working
    wp-content/plugins/static-random-posts/php/ajax-processor.php

  3. I love the plug in, I’ve probably spent a few days looking for one that would allow me to set one featured post of the day… it has just been impossible until I found this one.. great stuff.. the only thing I wish I could get it to do is call the thumbnail image for the post.. Any chance of an update for that coming out? I’m trying to figure it out but no luck so far..

    Thanks!

  4. hey hey. i have been looking for this plugin for the past 2 hours. glad i stumbled here. i installed the plugin and let me just say, so far it works for wp 3.0.1 <3

    thanks! should there be probs, i'll be sure to tell you~ wooo.

  5. I like it – a cool plugin that I will add into my library, and also could help out on SEO as there is always fresh inlinks on your home page (in a search engines eyes)

Leave a Reply

Your email address will not be published. Required fields are marked *