View Single Post
Old 06-25-2013, 04:32 AM  
vdbucks
Monger Cash
 
Industry Role:
Join Date: Jul 2010
Posts: 2,773
Quote:
Originally Posted by nexcom28 View Post
I hate messing with themes, I tried adding the code you suggested so it looked like

Code:
<?php query_posts($query_string."&orderby=rand") if (have_posts()) : while (have_posts()) : the_post(); ?>
I took out the 6 posts bit.

Unfortunately it generated a syntax parse error.

Think I will just leave it.
You forgot a ; after the query_posts argument... Use the following:

Code:
<?php query_posts($query_string."&orderby=rand"); if (have_posts()) : while (have_posts()) : the_post(); ?>
vdbucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote