-
Author
-
August 13, 2013 at 21:58 #1343bulletorthechapstickParticipant
I have been able to set the visibility of the “Birthday” field on the extended profiles to private, but the ages of the members are still being calculated and shown on the members directory pages. Is there a way to remove or hide the ages, please?
August 14, 2013 at 07:48 #1366SQadminKeymasterHi,
To hide the age you should have something like this in sweetdate-child/functions.php:COPY CODEadd_action('after_setup_theme','kleo_remove_actions'); /** * Override existing actions * Use these functions to replace/remove existing actions * @since Sweetdate 1.3 */ function kleo_remove_actions() { add_filter('kleo_bp_meta_fields','my_remove_age'); /* For example uncomment the line bellow to disable matching on member profile */ //remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match'); } function my_remove_age($output) { //remove the Age form array unset($output['age']); return $output; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 11, 2014 at 19:48 #14844AfrosteinParticipantHello we have this same issue. We applied the code but it still shows the age of members in the members listing. Profile setting is already default: Only Me.
Another way to fix this? Thanks.
April 15, 2014 at 00:53 #15115AbeKeymasterSharing might help other looking for the same solution
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.