-
Author
-
July 6, 2016 at 13:37 #128213dlxParticipant
Hello!
I would like to display the age (and some other additional infos) in the members listing like displayed here:
https://archived.seventhqueen.com/sweetdate/article/add-profile-information-member-name-members-directoryUnfortunately I can´t find any info how to do this in Kleo.
Any ideas?
Best regards,
JanJuly 6, 2016 at 18:14 #128255RaduModeratorHi,
We have a video tutorial for this : https://archived.seventhqueen.com/kleo/article/add-extra-profile-fields-show-certain-profile-fields-member-directory
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solutionJuly 7, 2016 at 01:25 #128337dlxParticipantHi Radu,
thanks for your help!
Just to note: The first block of code on https://archived.seventhqueen.com/kleo/article/add-extra-profile-fields-show-certain-profile-fields-member-directory is not being displayed in full. So it´s a bit tricky to copy the content there. An update of the page would surely help.Thanks a lot!
JanJuly 7, 2016 at 16:30 #128397RaduModeratorHi,
Please re-visit the page i’ve updated the snippet it should be ok now
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solutionApril 28, 2017 at 23:46 #159922joyParticipantHow do you display the added fields before the last active timestamp?
May 3, 2017 at 17:26 #160256RaduModeratorHi,
If you need more than that, you will have to edit the members-loop.php file.
In the marked line there you should paste the content the before last active
In your case instead, to use that function (if you have added to funciton.php file comment it or delete it) you will have to paste the next code in the marked line.
COPY CODE$location = bp_get_member_profile_data('field=Location'); $specialization = bp_get_member_profile_data('field=Specialization'); if ($specialization || $location) { echo '<div class="mdetcenter">'. 'Location : ' . $location . '</div>'; echo '<div class="mdetcenter">'. 'Specialization : ' . $specialization . '</div>'; }
To have the changes over update you should copy this file : /wp-content/themes/kleo/buddypress/members/members-loop.php to child theme in same path (/wp-content/themes/kleo-child/buddypress/members/)
That’s all
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMay 4, 2017 at 22:37 #160460RaduModeratorYou’re welcome
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.