-
Author
-
October 17, 2016 at 22:53 #139999lhma1981Participant
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.October 19, 2016 at 08:59 #140213LauraModeratorHello, 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 solutionLaura 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 🙂
November 9, 2016 at 06:04 #143483RoaderParticipantTotal Men and Women – Not shown (neither using these code). Help!
November 9, 2016 at 06:20 #143484RoaderParticipantOkey. 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.
November 10, 2016 at 07:31 #143689LauraModeratorHello, 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 solutionLaura 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 🙂
March 21, 2017 at 10:35 #156192ProtonParticipantHi 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!
March 22, 2017 at 03:51 #156307LauraModeratorHello, 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 solutionLaura 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 🙂
-
AuthorPosts
You must be logged in to reply to this topic.