View Single Post
Old 08-17-2010, 08:11 AM  
tonyparra
Confirmed User
 
tonyparra's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
Quote:
Originally Posted by harvey View Post
not sure what do you mean by shuffle, I take you mean random. If so, open your index.php, look for the loop and add something like this:

Code:
 
  
 <?php
 $rand_posts = get_posts('numberposts=10&orderby=rand');
 foreach( $rand_posts as $post ) :
 ?>
    <div class="post">
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php the_content(); ?>
</div>
 <?php endforeach; ?>
I would try this one first personally
__________________

High Performance Vps $10 Linode
Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot
tonyparra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote