multiple loops rewind_posts question
-
Hi there,
I am working on a site where I want to use multiple loops to request (Flutter) data.
I use the folowing code several times to load data in multiple columns:<?php
query_posts(‘category_name=item1’);
if(have_posts()) : while(have_posts()) : the_post();
echo get(‘column1’);
endwhile;
endif;
?>This code works fine now but I read that you maybe should use <?php rewind_posts(); ?> before each new loop on the same page.
Does anybody now if this is necessary and why?Regards,
Niels
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘multiple loops rewind_posts question’ is closed to new replies.