Birthdate not age showing in members-loop
-
I am having an issue with the birth date displaying the age instead of the actual birth date in my members directory.
The profile field displays the age in the members profile page but, in the directory it is displaying the whole birth date.
I have the members information displaying in the members directory via this code:
/**
* Sweetdate Child Theme Functions
* Add extra code or replace existing functions
*/
//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(
‘Member Type’,
‘His Age’,
‘His Sexuality’,
‘Her Age’,
‘Her Sexuality’,
‘Marital status’,
);
}
?>How do I get this to display the age and not the actual field data?
Thanks!
Michele
- The topic ‘Birthdate not age showing in members-loop’ is closed to new replies.