Support » Themes and Templates » Random Posts in Loop

  • Hey everyone!

    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(); ?>



Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Random Posts in Loop’ is closed to new replies.