BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Which file is driving the left BP area?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Question

    #32709
    @gourmetbooks

    Hi all,

    Pardon that awful description in the subject line. I attached a screenshot to clarify. I’m trying to find the file that contains

    <div id="item-nav">

    Specifically, I’d like to hide it on all pages other than the logged-in user’s profile page. I’ve found a bunch of (perhaps deprecated) conditional tags, including

    bp_is_user_profile()

    which I suspect will do the trick. Question is, where do I put it?

    Thanks!
    Adam

    Answers

    #32716

    Alyssa
    Participant
    @alyssa-buddyboss

    @gourmetbooks Welcome to the BuddyBoss community! This is in a BuddyPress file located here: buddypress/bp-themes/bp-default/members/single/home.php:27

    #32725
    @gourmetbooks

    Thanks!

    #32728
    @gourmetbooks

    I’m having some trouble getting that div to disappear using that conditional tag. Any ideas?

    Thanks again!

    #32741

    Alyssa
    Participant
    @alyssa-buddyboss

    @gourmetbooks try this function instead: bp_is_my_profile()

    #32764
    @gourmetbooks

    @tj Thanks!

    #32790

    Alyssa
    Participant
    @alyssa-buddyboss

    any time 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • The question ‘Which file is driving the left BP area?’ is closed to new replies.