-
Author
-
November 15, 2015 at 15:34 #87355
nao
ParticipantHi! I would like to change the member field in search as the DEMO(Age/Gender/etc.). My members field is too poor(only Age). How to change it?
November 16, 2015 at 18:06 #87554Laura
ModeratorHello, you need to add that function to child theme functions.php
COPY CODE//members page fields add_action('after_setup_theme','kleo_my_member_data'); function kleo_my_member_data() { global $kleo_config; //this is the details field, right now it take the "About me" field content $kleo_config['bp_members_details_field'] = 'About me'; //this display the fields under the name, eq: 36 / Woman / Divorced / Berlin. Modify with the names of the fields you want to appear there $kleo_config['bp_members_loop_meta'] = array( 'I am a', 'Marital status', 'City' ); }But instead of About me, use About us
Change the text field to show ( large ) here
COPY CODE$kleo_config['bp_members_details_field'] = 'About me';Change About me for your Field Name ( the one you want to show )
And Change
COPY CODE$kleo_config['bp_members_loop_meta'] = array( 'I am a', 'Marital status', 'City'I am a, Marital status, City with other fields that you want to show ( those will appear next to the age )
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 18, 2015 at 10:35 #87821nao
ParticipantThanks Laura! It worked very well. Your support is perfect π
November 19, 2015 at 18:40 #88146Laura
ModeratorHello, glad it helped! π Dont forget to rate us and give us a nice comment on Themeforest π
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 7, 2017 at 13:15 #163621erictorn
ParticipantHello,
if i have created my own fields in Swedish.
How do I put in them in the code – to show them in on each person in search result?OR do i have to use the one used in the theme? Then, how do I add them again?
regards
Eric, Sweden
http://www.friluftskompis.seJune 9, 2017 at 21:19 #163872Laura
ModeratorHello, just change the I am a and the other fields at the code to the ones you want to use π
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 9, 2017 at 21:51 #163884erictorn
ParticipantAnd how di I do if there is Γ₯ Γ€ ΓΆ in the fields/code?
June 12, 2017 at 07:41 #164023Laura
ModeratorHello, please follow the instructions at the code, its at functions.php, your screenshot is showing css, which is different and should not be added there. At the functions.php of child theme, add the code, then edit the I am a and the other fields to your own field name
If you want to show the field “Example” then change ‘I am a’ to ‘Example’Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 14, 2017 at 23:30 #164297Laura
ModeratorHope that means its resolved π
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.