• I have created category templates, and would like one of them to display the posts in random order. Is this possible to do? What would the code by?

    This is what I am currently using:

    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
    <h2 class="storytitle" id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2>
    	<div class="storycontent">
    		<?php the_content(); ?>
    	</div>

The topic ‘Posts in Random Order’ is closed to new replies.