Permalink

Otto with a simple random post URL snippet

2

Otto published a snippet of code that, when added to your functions.php file functionality plugin, will give you a URL you can use to always bring up a new random post from your site.

I have mixed feelings about code snippets, which is why I tend not to link to them very often. In this case though I made an exception because I’ve actually implemented the snippet on WPCandy. Visit wpcandy.com/random for a random post. I hope it’s a good one!

2 thoughts on “Otto with a simple random post URL snippet

    • His link seems to work okay for me in Chrome. That’s the point of the 307, to prevent the browser cache from, you know, caching.

Comments are closed.