This topic has 3 replies, 2 voices, and was last updated 10 years by sharmstr.

  • Author
  • #27778
     ahd904
    Participant

    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.
    #27791
     sharmstr
    Moderator

    The 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #27798
     ahd904
    Participant

    Thank 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 ??

    #27799
     sharmstr
    Moderator

    Sorry, 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?