Multiple querys using the same loop. (1 post)

  1. yekxmerr
    Posted 2 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Topic