How to reset loop? 2 loops on 1 page
There is one loop on main content with topics of one tag (archive) and second loop on the sidebar:
if ( bbp_has_topics( array( 'author' => 0, 'order' => 'DESC', 'paged' => 1, 'posts_per_page' => $number_of_topics ) ) ) : bbp_get_template_part( 'loop', 'mytopics' );
This second loop should display all global topics but it shows the same topics like the 1st loop. How to fix it?
- You must be logged in to reply to this topic.