This topic has 3 replies, 2 voices, and was last updated 8 years by Radu.

  • Author
  • #128225
     Strothi
    Participant

    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

    #128282
     Radu
    Moderator

    Hi,

    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 solution
    #128496
     Strothi
    Participant

    Dear 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 🙂

    #128509
     Radu
    Moderator

    You’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
Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?