Multiple querys using the same loop.
Hello guys, i’ve just a small question about multiple loops.
I’ve the div1 with loop (wp_query) to display some posts from a category, and beneath there is div2 to display the same stuff from a different category. To display the data on the div2 i’ve used the loop from div1 and at the end i just wp_reset_postdata();
Is this the right way to do it or it’s better to create another loop for the div2.
- The topic ‘Multiple querys using the same loop.’ is closed to new replies.