Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hide content from My friends tab in members directory

  • @saiallexander

    Participant

    When logged in, when visiting members directory there are two tabs, all members and my friends. I want to show content only when user click/choose all members tab but hide it in my friends tab.

    What condition I need to use, already tried if (bp_is_members_component()) but not work

Viewing 3 replies - 1 through 3 (of 3 total)
  • @saiallexander

    Participant

    Anyone?

    @naijaping

    Participant

    @saiallexander,

    you can hide it with css, put the below in style.css

    li#members-personal{display:none;}

    Naijaping

    @saiallexander

    Participant

    Hi @naijaping,
    Thank you for your answer, but unfortunately I need to hide it with condition. Use css will hide more than I need.

    Not sure is this doable base on open tab in members directory

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide content from My friends tab in members directory’ is closed to new replies.
Skip to toolbar