Plugin Directory

Random Post Link

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

Download Version 1.0.1

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

Author: scribu
Tags: ,

Requires: 2.8 or higher
Compatible up to: 3.0.5
Last Updated: 2010-2-5 Downloads: 2,232

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(3 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.

100,1,1
100,1,1
100,1,1
100,1,1
100,2,2