Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hide Public Status Update and Member Type


  • Strothi
    Participant

    @strothi

    Dear all,

    first of all, this forum is absolutely amazing and has helped me enormously so far! Unfortunately, I’m more of the “I read the code and somewhat understand it” and less so much the “I can code it myself” type… 😉 So I’m currently trying to distinguish private and public member fields. I’ve found lots of great solutions, but now I need your help:

    What I would like to achieve is that for example here: https://fslci.org/members/philip-strothmann/ the two entries which appear under the profile pic if you click on the plus:

    1) Membership type (in this case “NGO Employee”)
    2) Public Status

    are only seen by my members, not by the public. I guess it can be achieved with

    if( !is_user_logged_in() ) {

    But I’m not sure how to get the call to the two elements right. I guess this isn’t too complicated, but I’ve searched a bit and haven’t come up with a good solution, so any help would be highly appreciated!

    Thank you very much in advance 🙂

    BTW: Using latest WP, BP and KLEO as the theme.

  • You must be logged in to reply to this topic.
Skip to toolbar