Display group document count in groups loop?
-
Hi,
Is there a way to echo the group document count on the groups directory? I’ve been playing around with this:
<?php echo “<p> Number of documents: ” . BP_Group_Documents::get_total($bp->groups->current_group->id) . “</p>”; ?>But the number always shows as 0 even when a group does have a number of documents uploaded.
Thanks,
Anne
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Display group document count in groups loop?’ is closed to new replies.