Custom Query Loop
-
I’m creating a custom topic query for a section of my website that hooks into the default loop template. In the template I use
<?php if ( bbp_has_topics(array( 'posts_per_page' => 7, 'max_num_pages' => 1, 'bbp_voice_count' => 'DESC', order => 'DESC' )) ) : ?>
What I’m trying to achieve is a query the shows 7 topics that have the most participants over the last few days. I went with order as the time query but clearly making sure it only shows topics that have BOTH a large amount of users AND are currently active is what I’m trying to achieve.
Any hints or different args to use to achieve this?
sidenote: I doesn’t seem bbp_voice_count works?
- You must be logged in to reply to this topic.