Random Post Link

Generates a link that takes a visitor to a random post, but never the same as before.

Author:scribu (profile at wordpress.org)
WordPress version required:2.8
WordPress version tested:3.0.5
Plugin version:1.0.1
Added to WordPress repository:04-11-2009
Last updated:13-09-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:40
Rated by:1
Plugin URI:http://scribu.net/wordpress/random-post-link
Total downloads:6 733
Active installs:80+
plugin download
Click to start download

Unlike the Random Redirect plugin, this plugin makes sure that a user will not see the same post twice.

It does this by storing a cookie containing a list of single posts that the user has seen. It then checks that list before redirecting.

Usage

Just put this line anywhere in your theme where you want the link to appear.

<?php random_post_link(); ?>

You can specify the text you want on the link like so:

<?php random_post_link('Feeling lucky'); ?>

Links: Plugin News | Author's Site


FAQ
ChangeLog