Just install the randomPost plugin, and select URL slug you want to use.
Once configured, add URL with the slug to your menu as custom link.
To add little more fun to your website, put notice telling visitors to.
Easily change the hotkey for the shortcut to read random post..
Installing randomPost can be done from inside your WordPress admin panel by going to Plugins > Add New and searching for randomPost...
Upload the entire randompost folder to the wp-content plugins directory.
Deactivate the plugin from the Plugins menu.
This will delete all files from the server and all settings from the WordPress database...
In the past, I've been able to implement the random post feature by altering my code on the backend or purchasing theme that includes this function...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more