-
Author
-
July 26, 2017 at 15:45 #168652
Radu
ModeratorHi, Done, I will close this ticket and I will mark it as resolved. The updated code that pulls all fields it'sfunction overwrite_mebers_dir_meta() { $marital_status = bp_get_member_profile_data('field=Statut'); //$i_am_a = bp_get_member_profile_data('field=Je suis', bp_displayed_user_id()); $i_am_a = xprofile_get_field_data( 'Je suis', bp_loggedin_user_id(), $multi_format = 'comma' ); $output['age'] = apply_filters('kleo_bp_meta_after_age', get_member_age(bp_get_member_user_id())) . ' ANS'; $output['Statut'] = $marital_status; $output['Je suis'] = $i_am_a; $city = bp_get_member_profile_data('field=Ville'); $department = bp_get_member_profile_data('field=Département'); $country = bp_get_member_profile_data('field=Pays'); $output['Ville'] = $city; $output['Département'] = $department; $output['Pays'] = $country; $output['À propos de moi'] = $about_me; $kleo_config['bp_members_details_field'] = 'À propos de moi'; return $output; } add_filter('kleo_bp_meta_fields', 'overwrite_mebers_dir_meta');Also a css prevent displaying all fields cuz it's limited to 26px height use also the css to have all displayed..search-item .date, .search-item .date a { height: initial !important; }Cheers R. -
AuthorPosts
You must be logged in to reply to this topic.