This topic has 6 replies, 4 voices, and was last updated 7 years by Laura.

  • Author
  • #139999
     lhma1981
    Participant

    Hello, I can not set the number of online users Men and Women, I can only see total membership and mienbros online

     

    I have a this code

    [kleo_status_icon type=”total” subtitle=”Members in total”] [kleo_status_icon type=”members_online” subtitle=”Members online”] [kleo_status_icon type=”women_online” value=”women_online” online=”yes” subtitle=”Mujeres online”][kleo_status_icon type=”men_online” value=”Hombre_online” online=”yes” subtitle=”Hombres online”]

     

    Attachments:
    You must be logged in to view attached files.
    #140213
     Laura
    Moderator

    Hello, there is total members, members online and women online, there is not total women or total men, but you could use this

    COPY CODE
    
    [kleo_status_icon type="total" subtitle="Members in total"] [kleo_status_icon type="members_online" subtitle="Members online"] 
    [kleo_status_icon type="custom" field="I am a" value="Woman" online="no" subtitle="Total Women" image="http://date.prontomedia.dk/wp-content/themes/sweetdate/assets/images/icons/steps/status_03.png"] 
    [kleo_status_icon type="custom" field="I am a" value="Man" online="no" subtitle="Total Men" image="http://date.prontomedia.dk/wp-content/themes/sweetdate/assets/images/icons/steps/status_04.png"] 
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #143483
     Roader
    Participant

    Total Men and Women – Not shown (neither using these code). Help!

    #143484
     Roader
    Participant

    Okey. Now working.

    I put I am — Soy.

    But, what about with translation? For example, if a french man go to the page… and see the text in english or spanish… etc.

    #143689
     Laura
    Moderator

    Hello, you can use q-translate x for multilanguage website as a free plugin

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #156192
     Proton
    Participant

    Hi Laura

    I’m hoping you can help me, i have a similar problem.

    I want to manually change the number of women and men online.

    The following code works:

    add_filter( ‘kleo_online_users_count’, ‘kleo_my_online_users’, 10, 2);
    function kleo_my_online_users($number, $value) {
    switch ($value) {
    //ALL MEMBERS ONLINE
    case FALSE:
    return $number+6;
    break;

    case “Blesser”:
    return $number+5;
    break;

    case “Blessee”:
    return $number+20;
    break;

    default:
    return $number+5;
    break;
    }

    BUT, it does not work when i call it using the [kleo_status_icon type …} shortcode. How do i get the status shortcode to pull the number from the above function? Can you help?

    Thanks!

    #156307
     Laura
    Moderator

    Hello, you need to use the custom shortcode instead of the default status one [kleo_status_icon type=”custom”

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

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

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?