-
Author
-
July 1, 2015 at 19:34 #66043
josebaberri
ParticipantHi,
The member listing page, don´t show the “about us” field of the user.
¿What is the reason? I setup all profile fields correctly and y read other posts.
https://archived.seventhqueen.com/forums/topic/member-directory-page-about-me-text-does-not-display
July 2, 2015 at 10:54 #66175josebaberri
ParticipantIt is very important to me to solve this.
Please tell me how to fix it or open a ticket to the upper department.July 4, 2015 at 01:09 #66413Laura
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 solutionJuly 4, 2015 at 12:13 #66453josebaberri
ParticipantThe code works , showing fields .
But the description field to be longer , not fits well .
How can this be fixed ?
Show screenshot
July 4, 2015 at 12:23 #66456josebaberri
ParticipantSorry , in this second screenshot is where shown the part of the description.
July 5, 2015 at 11:44 #66576Laura
ModeratorHello, do not use the long text field in the top fields, use it in “About me” Check out the code, change “About me” for your long text field, the others are short
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 30, 2015 at 17:59 #90121JOHearn1216
ParticipantI added this code and all I got was an error message after I changes the php file in WordPress Editor
I have attached images. Please advise.
December 1, 2015 at 22:28 #90394Laura
ModeratorHello @JOHearn1216, can you open a new topic about that issue?
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 ‘Sweetdate – WordPress’ is closed to new topics and replies.