Skip to:
Content
Pages
Categories
Search
Top
Bottom

change nav content when on member profile page.


  • kaelwithme
    Participant

    @kaelwithme

    i actually wanna restrict the nav to just “Home” when on the member profile page. logged in or not.

    is there some function which i can use in an if else statement like if (is_home) or something like that.

    or any suggestions might help. thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello kaelwithme, this is jackson and I am agree with you. I also want such suggestions.


    kaelwithme
    Participant

    @kaelwithme

    yeah, well i’m trying to look for a way. which i can’t find via plugins/admin since you should restrict/hide such navs on the BP page which are different from WP pages in a sense that they kinda don’t exist. they’re generated on the fly.

    do you by any means know what the equivalent of is_home() to the member profile page is?


    r-a-y
    Keymaster

    @r-a-y

    bp_is_member() returns true if you’re on a member’s profile page.

    Try that in your header.


    kaelwithme
    Participant

    @kaelwithme

    i tried bp_is_profile and it works.. anyway, i just created another nav widget in order for my iterations to work. and it worked! :D

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘change nav content when on member profile page.’ is closed to new replies.
Skip to toolbar