8 years, 7 months ago
[WP 3.4.2 + bbPress v2.2.2]
I’ve searched around a bit for a way to do this – but have found no neat solution. All threads relating to this seem to be 2-3 years old and be for the bbPress standalone rather than the plugin.
Basically what I want is a simple list displaying forums + topic count, in my page.php. Example:
<li><a href="#">Forum title 1<span>Topic count</span></a></li>
<li><a href="#">Forum title 2<span>Topic count</span></a></li>
<li><a href="#">Forum title 3<span>Topic count</span></a></li>
I know that there is a widget listing the forums categories, but I need the topic count as well for a better overview. Also, if easily doable, I need to exclude a forum category from the list.
Any help would be greatly appreciated.
I guess it would be something like this (still not working though – incorrect loop?)
Code example: http://pastebin.com/FnX6cfRK
Here we go, works: http://pastebin.com/mVsftBrH (copied from default widget)
8 years, 6 months ago
I kike your code
8 years, 4 months ago
Cheers @alexanderagn, works perfectly.
Follow bbPress on Twitter •
Contact Us •
Terms of Service