Skip to:
Content
Pages
Categories
Search
Top
Bottom

change nav content when on member profile page.

  • 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)
  • Avatar of jacksong2k10
    jacksong2k10
    Member

    @jacksong2k10

    Hello kaelwithme, this is jackson and I am agree with you. I also want such suggestions.

    Avatar of kaelwithme
    kaelwithme
    Member

    @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?

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

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

    Try that in your header.

    Avatar of kaelwithme
    kaelwithme
    Member

    @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)

You must be logged in to reply to this topic.