resetting query_posts for 2nd loop on same page (2 posts)

  1. mll
    Posted 10 years ago #

    Hello there, my first post here :)

    I want to use The_Loop twice on a page, but with *different* query_posts filters, the second time with no restriction (usual standard loop).

    But setting query_posts('’); in the second loop doesn’t actually reset the filter, and the 2nd loop displays the posts filtered in the first loop.

    Hope I was clear. Looking for your hints. :)

  2. Joshua Sigar
    Posted 10 years ago #

    For the second Loop, you may want to do the following.

    <?php query_posts($query_string); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic