Random Posts in Loop
Bit of a dilemma, I wan’t the loop on index/archives/categories etc to display posts from that date/tag/category randomly. I’ve done some searching around and I’ve found these solutions with query_posts that display random posts, but not in relation to the page I was on. So if I’m on the ‘example’ category i would need random posts form ‘example’ category to be displayed.
Is this possible?
Thanks so much for your help!! The site uses the standard loop functions at the moment –
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?>
- The topic ‘Random Posts in Loop’ is closed to new replies.