-
Author
-
October 1, 2016 at 15:45 #137799HegelParticipant
Hi,
Is there a way to use the “members carousel” short-code to display only members with profile pics?
Kind Regards,
Ethan.
October 2, 2016 at 11:41 #137846LauraModeratorHello, not available right now but might be possible with some development, maybe a developer can do it for you 🙂
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 🙂
October 4, 2016 at 04:02 #138031leonidParticipanti fix in my project in bp-functions.php (find lines by text “kleo_members_carousel” ):
COPY CODEif ( bp_has_members( bp_ajax_querystring( 'members' ). '&type='.$type.'&per_page='.$total ) ) : while ( bp_members() ) : bp_the_member(); $ava = bp_get_member_avatar('type='.$image_size.'&width='.$width.'&height='.$height.'&class='); if (!preg_match('/gravatar\.com/', $ava)) { $output .= '<li><a href="'. bp_get_member_permalink().'">'. $ava . //bp_get_member_avatar('type='.$image_size.'&width='.$width.'&height='.$height.'&class='). '</a></li>'; } endwhile;
As result only with pics.
October 6, 2016 at 14:19 #138422LauraModeratorIt should be done at child theme 🙂
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
The forum ‘General questions’ is closed to new topics and replies.