-
Author
-
June 8, 2016 at 10:25 #124845
fixxxer1982
ParticipantHello,
I downloaded and installed Sweetdate theme. On the members page I tried to setup what kind of infomation will be visible for the members.
Like username, age. My problem is, I couldn’t find where can I customise this details. Because I’d like to show about the Member’s city and and what they’re looking for?
Thank you.
Adam Galambos
June 9, 2016 at 22:38 #125109Laura
ModeratorHello, here: You can change the info that displays under the name and the details field by adding this to your sweetdate-child/functions.php file://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' ); }Also if the fields don't appear add this line, reload the members page and you can remove the line after that(we have added a caching on those fields for better performance):delete_transient( 'kleo_bp_meta_fields' );
Just replace those profile field names in the code with our one custom ones. Let me know if it helps :) -
AuthorPosts
Viewing 14 posts - 1 through 14 (of 14 total)
You must be logged in to reply to this topic.