-
Author
-
July 6, 2016 at 16:39 #128225StrothiParticipant
Hey guys,
I was wondering whether there is any way to hide the profile meta on public profiles? I’ve set it up that members can specifically decide, whether their profile should be visible to the public or not and which fields, but as you can see here: https://fslci.org/members/philip-strothmann/ The status message will still appear. Now, I could hide it via css, but then it would disappear also for the other members which should have access to the full profile. I guess it’s as simple as adding ‘ if( is_user_logged_in() ) {‘ condition to the responsible call. Could you point me into the right direction which call I should adapt?
Thanks so much in advance!
Kind regards,
Philip
July 6, 2016 at 19:43 #128282RaduModeratorHi,
You can do your desired adjustments by copying this file : /wp-content/themes/kleo/buddypress/members/single/member-header.php to /wp-content/themes/kleo-child/buddypress/members/single/
Note : child theme needs to be installed and activated.
You can condition any of those functions to run depends by if is_logged_in
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 8, 2016 at 13:36 #128496StrothiParticipantDear Radu,
Thanks for pointing me in the right direction. Actually, it turned out that I had to adapt cover-image-header.php – probably because the general cover image function is active. Now it works 🙂
Thanks again 🙂
July 8, 2016 at 15:47 #128509RaduModeratorYou’re very welcome
I’m glad if you have solved your task !
If you are satisfied by our client support service please leave a positive review about this on the themeforest.net KLEO page : https://themeforest.net/item/kleo-next-level-wordpress-theme/reviews/6776630
Thank you in advance.
Have a nice week
Cheers
R.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 ‘General questions’ is closed to new topics and replies.