Creating nested forum loops in bbPress
I’m creating a customised forums front page for bbPress, by listing forums in a different way to the bbPress default.
Essentially what I’m trying to do is replace the use of bbp_list_forums() with a second, nested bbPress loop so that I have greater control over how the sub-forums are displayed.
I know I can use the ‘before’ and ‘after’ parameters of bbp_list_forums() but that doesn’t give me as much control as I need.
The only question I found that came close was this one which doesn’t actually provide a definitive answer.
Code won’t paste nicely here so it’s over here: http://wordpress.stackexchange.com/questions/64681/creating-nested-forum-loops-in-bbpress
See the bbp_list_forums() reference – in place of that I want another “while (bbp_forums())…” loop but how do I do that without interfering with the main loop?
- You must be logged in to reply to this topic.