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

  • Author
  • #28965
     slackarea
    Participant

    Hi at all,
    I’m searching for a solution about Total Members Count. I’ve tried with short code [kleo_total_members] but count is wrong and I don’t know why.

    I have 1660 users and short code display 42…

    Thanks in advance.

    P.S.: is there a place with all shortcode about Kleo?! 🙂

    #29538
     Catalin
    Moderator

    Hello,

    Please send me credentials to your website to take a look. Reply as private for security reason. Also, have in mind the fact that the counter shows members that have at least once some activity on the site.

    We are working at a detailed documentation of the visual composer codes that will be done in a few days.

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #30947
     Nudrica
    Participant

    Hi

    Did you solve this? I have the same problem.

    – Nudrica

    #31159
     slackarea
    Participant

    Hi,

    sorry for the late!

    I’ve solved.
    Add this function to functions.php of your theme:

    COPY CODE
    
    function kleo_total_members( $atts, $content = null ) {
      return bp_core_get_total_member_count();
    }
    add_shortcode('kleo_total_members', 'kleo_total_members');
    
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Total Members’ is closed to new replies.

Log in with your credentials

Forgot your details?