Using query_posts before main bbPress loop (or other alternative)?
-
I want to create a new bbpress topic loop file which only displays the recent 3 posts.
I tried placing query_posts before the main bbPress loop:
custom-loop-bbpress_topics:
<?php query_posts('posts_per_page=3'); ?>
<?php while ( bbp_topics() ) : bbp_the_topic(); ?>But the page just loads indefinitely.
Any suggestions?
- You must be logged in to reply to this topic.