Support » Fixing WordPress » orderby=rand dont work, any help pls

  • Hello every one,
    i allways use the orderby=rand in all my themes, but recently with my last website, the orderby=rand wont to work, and it show only the latest article, see the link in the bottom of the home page : clique her

    this is the code i use :

    	if (have_posts()) : while (have_posts()) : the_post();
    	<img src="img.jpg"/>
    		Type de voiture : Tourisme
    		Marque de voiture : Fiat
    		Model de voiture : PANDA
    		<a href="#">Réservation en ligne</a>
    <?php endwhile; else : ?>
    <?php endif; wp_reset_query();?>

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘orderby=rand dont work, any help pls’ is closed to new replies.