The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Random Posts in Loop (2 posts)

  1. heymaitland
    Posted 6 years ago #

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


  2. esmi
    Forum Moderator
    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic