-
Author
-
March 24, 2016 at 12:23 #112524HDcmsParticipant
Hi,
http://seventhqueen.com/demo/sweetdatewp/members/
<span id=”result_box” class=”” lang=”en”>How</span>
<span id=”result_box” class=”” lang=”en”>1/ to display a random members?
2/ and opposite sex (only)<span class=””>?</span></span>Regards
March 24, 2016 at 12:25 #112525HDcmsParticipanthttp://seventhqueen.com/demo/sweetdatewp/members/
How :
1/ to display a random members?
2/ and opposite sex (only)?March 26, 2016 at 18:36 #112873LauraModeratorHello, can you explain a bit more?
Do you mean at the members directory, show only male if you are a woman and opposite?
Random members do you mean the order?
Let me know 🙂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 26, 2016 at 20:39 #112912HDcmsParticipantHello,
“Do you mean at the members directory, show only male if you are a woman and opposite?” Yes
“Random members do you mean the order?” Yeslist display without using a search criteria
Regards
March 29, 2016 at 18:51 #113342LauraModeratorHello, right now, only opposite members is not available but there is a base you could use to develop a code here: https://archived.seventhqueen.com/forums/topic/restrict-looking-for-the-opposite
About the random members, find the file members-loop.php at wp-content/themes/sweetdate/members
and copy it at wp-content/themes/sweetdate-child/members (create the folder if its not there)Then edit the file and find:
COPY CODE<?php if ( bp_has_members( bp_ajax_querystring( 'members' ). '&per_page='.sq_option('buddypress_perpage') ) ) : ?>
Replace that with
COPY CODE<?php if ( bp_has_members( bp_ajax_querystring( 'members' ). '&per_page='.sq_option('buddypress_perpage'.’&type=random’ )) ) : ?>
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.