-
Author
-
September 6, 2014 at 06:03 #27778ahd904Participant
Hello Seventhqueen Support,
I am busy with building up a community with many groups.
Could you tell me of a way i can make the number of people (count) appear on the group info ??
I saw that the BP search for groups show that number of memebers for the groups as default.
So i thought it must be dealt within theme modification.Please see the attached image for any reference of what i am trying to discuss here.
Thank you very much in advane.
Attachments:
You must be logged in to view attached files.September 6, 2014 at 14:12 #27791sharmstrModeratorThe member count is already shown in the blue bubble near the avatar. If you want to show it below the group description as well, you’ll have to add the following to the members loop in /kleo/buddypress/groups/groups-loop.php below ‘bp_group_description_exerpt’.
COPY CODE<div class="item-count"><?php echo preg_replace('/\D/', '', bp_get_group_member_count()) . " members"; ?> </div>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
September 6, 2014 at 14:51 #27798ahd904ParticipantThank you for that.
I feel ashamed.
I did not look at it thoroughly….
Would that code you mentioned above show how many people are in the group out of the limited group number?
SO say like 6 people out of 14 people. 6/ 14 ??
September 6, 2014 at 15:10 #27799sharmstrModeratorSorry, I dont what you mean by limited. Is that from a plugin that you’re using?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.