Random post link? HELP
Is it possible to add a random post link in wordpress?
Go to this page: http://funny-pictures-blog.com/2011/06/07/funny-pictures-bad-day-2/ below the image u can see the next and previous links, i want to have a link in the middle were it says “Random post”. that link should randomly choose a post and display it for the reader. is that possible to add?
i am using this code for the next and previous links:
<div class=”nav-box next” style=”float:right;”><h2><?php previous_post_link(‘%link’, ‘Next Post >>>’, false); ?></h2>
</div> <div class=”nav-box next” style=”float:left;”><h2><?php next_post_link(‘%link’, ‘<<< Previous Post’, false); ?></h2>
- The topic ‘Random post link? HELP’ is closed to new replies.