Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

This seems like a fairly simple question, and I'm sure I'm overlooking something, but how does one display forum statistics (registered users, posts, etc.)? I see there is a template in the theme compatibility folder called page-forum-statistics.php which seems to display some of this info but I'd like it to display in the footer on the homepage.

Is there something I'm missing? Or do they have to be called manually?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

It seems BBPress got a function called bbp_get_statistics() read source. You can throw an array of $args = array(); in it.

You also have a filter to modify the output:

apply_filters( 'bbp_get_statistics', $statistics, $args );

Disclaimer: I'm no BBPress expert - I haven't even installed it somewhere, just found this via google.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.